]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_antibottler.cpp
kick_channel -> chanrec::KickUser(), server_kick_channel -> chanrec::ServerKickUser()
[user/henk/code/inspircd.git] / src / modules / m_antibottler.cpp
index 3c0f4e67b711e5097ce6433b4d71aee3600c8ed3..58ee0b5d6c562f49d18c3bf0d92dd7b6fff2649b 100644 (file)
@@ -33,10 +33,10 @@ class ModuleAntiBottler : public Module
                Srv = Me;
        }
 
-        void Implements(char* List)
-        {
-                List[I_OnServerRaw] = 1;
-        }
+       void Implements(char* List)
+       {
+               List[I_OnServerRaw] = 1;
+       }
 
        
        virtual ~ModuleAntiBottler()
@@ -72,11 +72,6 @@ class ModuleAntiBottler : public Module
                                if (!(data) || !(*data))
                                        return;
 
-                               /*
-                                * slight efficiency fix: strtok() just returns NULL if it has no more
-                                * tokens to return. Plus strlen's here really could have been replaced
-                                * with above pointer voodoo :-). --w00t
-                                */
                                strtok(data," ");
                                char *ident = strtok(NULL," ");
                                char *local = strtok(NULL," ");