]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_override.cpp
Add comments
[user/henk/code/inspircd.git] / src / modules / m_override.cpp
index 224a18ae477feb28351bdf311abe13201b11dc5c..253b200bcfea7d7607c1bb0bb2ec58d9b7cb50bd 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
@@ -55,13 +55,9 @@ class ModuleOverride : public Module
                        overrides[typen] = tokenlist;
                }
                
-               DELETE(Conf);
+               delete Conf;
        }
 
-       void Implements(char* List)
-       {
-               List[I_OnRehash] = List[I_OnAccessCheck] = List[I_On005Numeric] = List[I_OnUserPreJoin] = List[I_OnUserPreKick] = List[I_OnPostCommand] = 1;
-       }
 
        virtual void OnPostCommand(const std::string &command, const char** parameters, int pcnt, User *user, CmdResult result, const std::string &original_line)
        {