]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_rline.cpp
Add user/channel mode synchronisation detection to CAPAB - link will now drop if...
[user/henk/code/inspircd.git] / src / modules / m_rline.cpp
index 86af010dec2d2cd3a5173e0fdd61f352925285ca..b3ccfe8efbfaffc4883a01736b65c047f75ac8ee 100644 (file)
@@ -116,9 +116,10 @@ class CommandRLine : public Command
        std::string rxengine;
 
  public:
-       CommandRLine (InspIRCd* Instance) : Command(Instance,"RLINE", "o", 1)
+       CommandRLine (InspIRCd* Instance) : Command(Instance,"RLINE", "o", 1, 3)
        {
                this->source = "m_rline.so";
+               this->syntax = "<regex> [<rline-duration>] :<reason>";
        }
 
        CmdResult Handle (const std::vector<std::string>& parameters, User *user)