From: brain Date: Sun, 25 Apr 2004 20:47:47 +0000 (+0000) Subject: Fixed a GCC2 incompatibility, replaced break with return X-Git-Tag: v2.0.23~10870 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=b812cdf124a8f5922ca2438ec4baa0c087382a81;p=user%2Fhenk%2Fcode%2Finspircd.git Fixed a GCC2 incompatibility, replaced break with return git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@730 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/modules/m_antibottler.cpp b/src/modules/m_antibottler.cpp index 61e6bdc36..9c6cd21c3 100644 --- a/src/modules/m_antibottler.cpp +++ b/src/modules/m_antibottler.cpp @@ -46,15 +46,15 @@ class ModuleAntiBottler : public Module } } // Bug Fix (#14) -- FCS - if (!strlen(data)) break; + if (!strlen(data)) return; char *user = strtok(data," "); - if (!strlen(data)) break; + if (!strlen(data)) return; char *ident = strtok(NULL," "); - if (!strlen(data)) break; + if (!strlen(data)) return; char *local = strtok(NULL," "); - if (!strlen(data)) break; + if (!strlen(data)) return; char *remote = strtok(NULL," :"); - if (!strlen(data)) break; + if (!strlen(data)) return; char *gecos = strtok(NULL,"\r\n"); for (int j = 0; j < strlen(remote); j++) {