]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_swhois.cpp
Fix silly oversight discovered by tra26 (thanks!) where the core tries to handle...
[user/henk/code/inspircd.git] / src / modules / m_swhois.cpp
index 196b556dc4428d86fd3e6f743ae92cb71dadff3d..50bd4095d0d189e7163f0b139dac383b6818df69 100644 (file)
@@ -21,7 +21,7 @@ class CommandSwhois : public Command
 {
 
  public:
-       CommandSwhois (InspIRCd* Instance) : Command(Instance,"SWHOIS","o",2)
+       CommandSwhois (InspIRCd* Instance) : Command(Instance,"SWHOIS","o",2, 2)
        {
                this->source = "m_swhois.so";
                syntax = "<nick> :<swhois>";
@@ -251,7 +251,7 @@ class ModuleSWhois : public Module
 
        virtual Version GetVersion()
        {
-               return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+               return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
        }
 };