]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_antibottler.cpp
Added -Wswitch -Wchar-subscripts -Wparentheses - more stable and more pedantic settin...
[user/henk/code/inspircd.git] / src / modules / m_antibottler.cpp
index fb85bb7b1c1f449d9c505738e6d6672ef7d57eb3..3b57d9d093e7e9d1bd1a583adcef00990187cdd3 100644 (file)
@@ -53,10 +53,10 @@ 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;
                                        }