fix teamchat not marked #3119
This commit is contained in:
parent
69f026fd65
commit
c9b713f47e
1 changed files with 1 additions and 2 deletions
|
@ -145,8 +145,7 @@ chat_msg::chat_msg(const config &cfg)
|
|||
, nick_()
|
||||
, text_(cfg["message"].str())
|
||||
{
|
||||
const std::string& team_name = cfg["team_name"];
|
||||
if(team_name.empty())
|
||||
if(cfg["team_name"].empty() && cfg["to_sides"].empty())
|
||||
{
|
||||
nick_ = cfg["id"].str();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue