correct chan displayed

This commit is contained in:
Anselme 2015-10-05 17:29:14 +02:00
parent 835a5e68f2
commit f281f57296

View File

@ -14,7 +14,7 @@ bool SparrowModule::messageHandler(Message msg)
&& msg.target.compare("#"+getChan()) == 0
&& msg.nick.compare(getNick()) != 0)
{
answer = say("Bienvenue sur #epicsparrow "+msg.nick+"!");
answer = say("Bienvenue sur #"+getChan()+" "+msg.nick+"!");
return true;
}
else if(msg.command.compare(QString("PRIVMSG"), Qt::CaseInsensitive) == 0)