summaryrefslogtreecommitdiff
path: root/modules/commands/bs_set.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/bs_set.cpp')
-rw-r--r--modules/commands/bs_set.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/bs_set.cpp b/modules/commands/bs_set.cpp
index 123120289..243ac1746 100644
--- a/modules/commands/bs_set.cpp
+++ b/modules/commands/bs_set.cpp
@@ -388,12 +388,12 @@ class CommandBSSetPrivate : public Command
if (value.equals_ci("ON"))
{
- bi->ExtendMetadata("PRIVATE");
+ bi->oper_only = true;
source.Reply(_("Private mode of bot %s is now \002on\002."), bi->nick.c_str());
}
else if (value.equals_ci("OFF"))
{
- bi->Shrink("PRIVATE");
+ bi->oper_only = false;
source.Reply(_("Private mode of bot %s is now \002off\002."), bi->nick.c_str());
}
else