]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_cban.cpp
Add option to allow +q to +q users, +a to +a users.
[user/henk/code/inspircd.git] / src / modules / m_cban.cpp
index 0452bff7cb8bf88f947396cdaf7a218c81ae9ca2..1350a0afb5cff895b066bfbd0a2e40859ad142ad 100644 (file)
@@ -81,7 +81,7 @@ class CBanFactory : public XLineFactory
 class CommandCBan : public Command
 {
  public:
-       CommandCBan(InspIRCd* Me) : Command(Me, "CBAN", "o", 1)
+       CommandCBan(InspIRCd* Me) : Command(Me, "CBAN", "o", 1, 3)
        {
                this->source = "m_cban.so";
                this->syntax = "<channel> [<duration> :<reason>]";
@@ -199,7 +199,7 @@ class ModuleCBan : public Module
 
        virtual Version GetVersion()
        {
-               return Version(1, 2, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
+               return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
        }
 };