1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 11:26:37 +02:00

Fixed some left over useprivmsg problems and fixed some compiler warnings.

This commit is contained in:
Adam
2011-03-29 13:43:22 -04:00
parent b14b7bd55e
commit 685e99be02
6 changed files with 39 additions and 37 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ class CommandCSHelp : public Command
"commands are listed below; to use them, type\n"
"\002%s%s \037command\037\002. For more information on a\n"
"specific command, type \002%s%s HELP \037command\037\002."),
ChanServ->nick.c_str(), Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str(), Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str(),
ChanServ->nick.c_str(), ChanServ->nick.c_str(), Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str(), Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str(),
ChanServ->nick.c_str());
for (CommandMap::const_iterator it = ChanServ->Commands.begin(); it != ChanServ->Commands.end(); ++it)
if (!Config->HidePrivilegedCommands || it->second->permission.empty() || u->HasCommand(it->second->permission))