From 15ec8bd3773cff3bb8cd36c5890569fdc19e1356 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 26 Apr 2005 01:25:07 +0000 Subject: Added -Wswitch -Wchar-subscripts -Wparentheses - more stable and more pedantic settings :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1191 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_antibottler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3