X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_antibottler.cpp;h=3b57d9d093e7e9d1bd1a583adcef00990187cdd3;hb=15ec8bd3773cff3bb8cd36c5890569fdc19e1356;hp=fb85bb7b1c1f449d9c505738e6d6672ef7d57eb3;hpb=b6f5d703b010fa5e4cd1d082ea70fe0cc27fb9e9;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_antibottler.cpp b/src/modules/m_antibottler.cpp index fb85bb7b1..3b57d9d09 100644 --- a/src/modules/m_antibottler.cpp +++ b/src/modules/m_antibottler.cpp @@ -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; }