]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_globops.cpp
Fix potential for duplicate SID if the SID is auto generated.
[user/henk/code/inspircd.git] / src / modules / m_globops.cpp
index 1a49858e2e009276f64101b5ac3c8268adb3db4d..9908ad05399acba78b9671814577be695b6e357b 100644 (file)
@@ -14,9 +14,6 @@
 // Globops and +g support module by C.J.Edwards
 
 #include "inspircd.h"
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
 
 /* $ModDesc: Provides support for GLOBOPS and user mode +g */
 
@@ -29,6 +26,7 @@ class cmd_globops : public command_t
        {
                this->source = "m_globops.so";
                syntax = "<any-text>";
+               TRANSLATE2(TR_TEXT, TR_END);
        }
 
        CmdResult Handle (const char** parameters, int pcnt, userrec *user)
@@ -60,7 +58,6 @@ class ModuleGlobops : public Module
        virtual ~ModuleGlobops()
        {
                ServerInstance->SNO->DisableSnomask('g');
-               DELETE(mycommand);
        }
        
        virtual Version GetVersion()