diff options
| author | Adam <Adam@anope.org> | 2011-04-29 21:12:49 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-05-16 04:10:15 -0400 |
| commit | b999c6ca53d6b1dfd54688d21718293858f6bcc7 (patch) | |
| tree | 1090a9d538010eb4026daac7d4b1dbd131635044 /modules/core | |
| parent | 583954d3a1db658281a9afb7b7dd6773726c8c11 (diff) | |
Expand more on m_alias and changed some std::string usage in sockets.cpp to use Anope::string
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()); } } } |
