fixed help not being private

This commit is contained in:
Anselme 2015-10-05 17:17:26 +02:00
parent 153e5d2338
commit b422a14601
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ bool FourasModule::messageHandler(Message msg)
}
else if(msg.args.compare("!help"))
{
answer = say("fouras commands : !fouras, !answer");
answer = privateSay("fouras commands : !fouras, !answer", msg.nick);
return true;
}
else if(msg.args.compare("!answer") == 0)

View File

@ -39,9 +39,9 @@ bool SparrowModule::messageHandler(Message msg)
else if(msg.args.compare("!help") == 0)
{
if(user->isOp())
answer = say("available commands : !control, !version, !bot, !devzone");
answer = privateSay("available commands : !control, !version, !bot, !devzone", msg.nick);
else
answer = say("available commands : !version, !bot, !devzone");
answer = privateSay("available commands : !version, !bot, !devzone", msg.nick);
return true;
}
else if(msg.args.compare("re", Qt::CaseInsensitive) == 0)