summaryrefslogtreecommitdiff
path: root/modules/commands/bs_bot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/bs_bot.cpp')
-rw-r--r--modules/commands/bs_bot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/bs_bot.cpp b/modules/commands/bs_bot.cpp
index 737e81a46..793d739c8 100644
--- a/modules/commands/bs_bot.cpp
+++ b/modules/commands/bs_bot.cpp
@@ -107,7 +107,7 @@ class CommandBSBot : public Command
return;
}
- if (bi->HasFlag(BI_CONF))
+ if (bi->conf)
{
source.Reply(_("Bot %s is not changable."), bi->nick.c_str());
return;
@@ -232,7 +232,7 @@ class CommandBSBot : public Command
return;
}
- if (bi->HasFlag(BI_CONF))
+ if (bi->conf)
{
source.Reply(_("Bot %s is not deletable."), bi->nick.c_str());
return;