]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sapart.cpp
Remove spanningtree override of /LUSERS
[user/henk/code/inspircd.git] / src / modules / m_sapart.cpp
index 576ec6e7b6f8b4a091f7616898df852dfe22ab3c..8f0a9e551c0e3becf51e05eca136ecd955c88d92 100644 (file)
@@ -49,8 +49,7 @@ class CommandSapart : public Command
                         */
                        if (IS_LOCAL(dest))
                        {
-                               if (!channel->PartUser(dest, reason))
-                                       delete channel;
+                               channel->PartUser(dest, reason);
 
                                Channel* n = ServerInstance->FindChan(parameters[1]);
                                if (!n)
@@ -97,8 +96,8 @@ class ModuleSapart : public Module
 {
        CommandSapart cmd;
  public:
-       ModuleSapart(InspIRCd* Me)
-               : Module(Me), cmd(this)
+       ModuleSapart()
+               : cmd(this)
        {
                ServerInstance->AddCommand(&cmd);
        }
@@ -109,7 +108,7 @@ class ModuleSapart : public Module
 
        virtual Version GetVersion()
        {
-               return Version("$Id$", VF_OPTCOMMON | VF_VENDOR, API_VERSION);
+               return Version("Provides support for unreal-style SAPART command", VF_OPTCOMMON | VF_VENDOR);
        }
 
 };