1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 06:56:39 +02:00

Cleanup in misc.cpp.

This commit is contained in:
Naram Qashat
2010-07-30 21:47:28 -04:00
parent afb3782aa3
commit 602d2378f5
5 changed files with 110 additions and 145 deletions
+3 -3
View File
@@ -126,7 +126,7 @@ class CommandBSBot : public Command
return MOD_CONT;
}
if (!oldnick.equals_ci(nick) && nickIsServices(oldnick, 0))
if (!oldnick.equals_ci(nick) && nickIsServices(oldnick, false))
{
notice_lang(Config.s_BotServ, u, BOT_DOES_NOT_EXIST, oldnick.c_str());
return MOD_CONT;
@@ -150,7 +150,7 @@ class CommandBSBot : public Command
return MOD_CONT;
}
if (!oldnick.equals_ci(nick) && nickIsServices(nick, 0))
if (!oldnick.equals_ci(nick) && nickIsServices(nick, false))
{
notice_lang(Config.s_BotServ, u, BOT_DOES_NOT_EXIST, oldnick.c_str());
return MOD_CONT;
@@ -282,7 +282,7 @@ class CommandBSBot : public Command
return MOD_CONT;
}
if (nickIsServices(nick, 0))
if (nickIsServices(nick, false))
{
notice_lang(Config.s_BotServ, u, BOT_DOES_NOT_EXIST, nick.c_str());
return MOD_CONT;