summaryrefslogtreecommitdiff
path: root/modules/core/bs_bot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/bs_bot.cpp')
-rw-r--r--modules/core/bs_bot.cpp6
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;