diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-30 21:47:28 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-30 21:47:28 -0400 |
commit | 602d2378f54bc2e20f9a5225a63d32685cd792ad (patch) | |
tree | 765efad057333a51755952477b8cc405a1923adb /modules/core/bs_bot.cpp | |
parent | afb3782aa3e7b40937c5dff03b22f6d4de869dc9 (diff) |
Cleanup in misc.cpp.
Diffstat (limited to 'modules/core/bs_bot.cpp')
-rw-r--r-- | modules/core/bs_bot.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/core/bs_bot.cpp b/modules/core/bs_bot.cpp index 3c5136bd5..b8de7050c 100644 --- a/modules/core/bs_bot.cpp +++ b/modules/core/bs_bot.cpp @@ -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; |