]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_antibottler.cpp
Moved a ton of functions into helperfuncs.h to speed up recompiles
[user/henk/code/inspircd.git] / src / modules / m_antibottler.cpp
index efa2de7e2a3dcc92cf1d0c12bb82294ed609e1fc..3b57d9d093e7e9d1bd1a583adcef00990187cdd3 100644 (file)
@@ -38,7 +38,7 @@ class ModuleAntiBottler : public Module
        
        virtual Version GetVersion()
        {
-               return Version(1,0,0,0);
+               return Version(1,0,0,1,VF_VENDOR);
        }
 
 
@@ -53,17 +53,17 @@ class ModuleAntiBottler : public Module
                        {
                                for (int j = 0; j < strlen(data); j++)
                                {
-                                       if (data[j] = ':')
+                                       if (data[j] == ':')
                                                break;
                                                
-                                       if (data[j] = '"')
+                                       if (data[j] == '"')
                                        {
                                                not_bottler = true;
                                        }
                                }
                                // Bug Fix (#14) -- FCS
                                if (!strlen(data)) return;                              
-                               char *user = strtok(data," ");
+                               strtok(data," ");
                                if (!strlen(data)) return;
                                char *ident = strtok(NULL," ");
                                if (!strlen(data)) return;