summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/bs_bot.c1
-rw-r--r--src/core/bs_help.c1
-rw-r--r--src/core/bs_info.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c
index 9b1fed9a6..96f72c336 100644
--- a/src/core/bs_bot.c
+++ b/src/core/bs_bot.c
@@ -350,6 +350,7 @@ class CommandBSBot : public Command
public:
CommandBSBot() : Command("BOT", 1, 6)
{
+ this->SetFlag(CFLAG_STRIP_CHANNEL);
}
CommandReturn Execute(User *u, std::vector<std::string> &params)
diff --git a/src/core/bs_help.c b/src/core/bs_help.c
index 92a595a1d..dde26b081 100644
--- a/src/core/bs_help.c
+++ b/src/core/bs_help.c
@@ -21,6 +21,7 @@ class CommandBSHelp : public Command
CommandBSHelp() : Command("HELP", 1, 1)
{
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
+ this->SetFlag(CFLAG_STRIP_CHANNEL);
}
CommandReturn Execute(User *u, std::vector<std::string> &params)
diff --git a/src/core/bs_info.c b/src/core/bs_info.c
index d6c1c9369..e43f264c9 100644
--- a/src/core/bs_info.c
+++ b/src/core/bs_info.c
@@ -49,6 +49,7 @@ class CommandBSInfo : public Command
public:
CommandBSInfo() : Command("INFO", 1, 1)
{
+ this->SetFlag(CFLAG_STRIP_CHANNEL);
}
CommandReturn Execute(User *u, std::vector<std::string> &params)