diff --git a/src/strategy/actions/SuggestWhatToDoAction.cpp b/src/strategy/actions/SuggestWhatToDoAction.cpp index 29576b1e..6846e5c6 100644 --- a/src/strategy/actions/SuggestWhatToDoAction.cpp +++ b/src/strategy/actions/SuggestWhatToDoAction.cpp @@ -186,7 +186,10 @@ void SuggestWhatToDoAction::spam( { strToLower(msg); } - chn->Say(bot->GetGUID(), msg.c_str(), LANG_UNIVERSAL); + if (chn->GetName().length() > 0) + { + chn->Say(bot->GetGUID(), msg.c_str(), LANG_UNIVERSAL); + } } } }