diff options
Diffstat (limited to 'modules/core')
| -rw-r--r-- | modules/core/bs_main.cpp | 2 | ||||
| -rw-r--r-- | modules/core/cs_main.cpp | 2 | ||||
| -rw-r--r-- | modules/core/os_modinfo.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/core/bs_main.cpp b/modules/core/bs_main.cpp index 193afac21..43c4d8fb2 100644 --- a/modules/core/bs_main.cpp +++ b/modules/core/bs_main.cpp @@ -31,7 +31,7 @@ class BotServBotInfo : public BotInfo if (sep.GetToken(command) && sep.GetToken(param)) { Command *c = FindCommand(this, command); - if (c) + if (c && !c->HasFlag(CFLAG_STRIP_CHANNEL)) { if (ircdproto->IsChannelValid(param)) { diff --git a/modules/core/cs_main.cpp b/modules/core/cs_main.cpp index 802528ee8..20da089df 100644 --- a/modules/core/cs_main.cpp +++ b/modules/core/cs_main.cpp @@ -37,7 +37,7 @@ class ChanServBotInfo : public BotInfo if (sep.GetToken(command) && sep.GetToken(param)) { Command *c = FindCommand(this, command); - if (c) + if (c && !c->HasFlag(CFLAG_STRIP_CHANNEL)) { if (ircdproto->IsChannelValid(param)) { diff --git a/modules/core/os_modinfo.cpp b/modules/core/os_modinfo.cpp index 0533ad1a6..0a316c567 100644 --- a/modules/core/os_modinfo.cpp +++ b/modules/core/os_modinfo.cpp @@ -27,7 +27,7 @@ class CommandOSModInfo : public Command if (c->module && c->module->name.equals_ci(mod_name) && c->service) { - source.Reply(_("Providing command: %\002%s %s\002"), c->service->nick.c_str(), c->name.c_str()); + source.Reply(_("Providing command: \002%s %s\002"), c->service->nick.c_str(), c->name.c_str()); } } } |
