diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_cban.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp index 43f53668e..dee844320 100644 --- a/src/modules/m_cban.cpp +++ b/src/modules/m_cban.cpp @@ -58,7 +58,7 @@ public: bool Matches(const std::string& s) CXX11_OVERRIDE { - return irc::equals(matchtext, s); + return InspIRCd::Match(s, matchtext); } const std::string& Displayable() CXX11_OVERRIDE @@ -94,7 +94,8 @@ class CommandCBan : public Command public: CommandCBan(Module* Creator) : Command(Creator, "CBAN", 1, 3) { - flags_needed = 'o'; this->syntax = "<channel> [<duration> [:<reason>]]"; + flags_needed = 'o'; + this->syntax = "<channelmask> [<duration> [:<reason>]]"; } CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE |