]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_tline.cpp
m_chanfilter: Apply filters to part messages (#1702)
[user/henk/code/inspircd.git] / src / modules / m_tline.cpp
index a351db227cc5667951cef6ff5fd75cb209c835b7..f8c0842b72c16edd7f2955d87aa5ada832de4594 100644 (file)
@@ -30,7 +30,7 @@ class CommandTline : public Command
                flags_needed = 'o'; this->syntax = "<mask>";
        }
 
-       CmdResult Handle(const std::vector<std::string>& parameters, User* user) CXX11_OVERRIDE
+       CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE
        {
                unsigned int n_matched = 0;
                unsigned int n_match_host = 0;
@@ -79,7 +79,7 @@ class ModuleTLine : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides /tline command used to test who a mask matches", VF_VENDOR);
+               return Version("Provides the TLINE command, used to test how many users a mask matches against", VF_VENDOR);
        }
 };