From b999c6ca53d6b1dfd54688d21718293858f6bcc7 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 29 Apr 2011 21:12:49 -0400 Subject: Expand more on m_alias and changed some std::string usage in sockets.cpp to use Anope::string --- modules/core/bs_main.cpp | 2 +- modules/core/cs_main.cpp | 2 +- modules/core/os_modinfo.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/core') 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()); } } } -- cgit