diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-25 20:47:47 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-25 20:47:47 +0000 |
commit | b812cdf124a8f5922ca2438ec4baa0c087382a81 (patch) | |
tree | 5d9523aaf0ea76b970d3031bf20adc313ef05781 /src | |
parent | e63acfd42200a41705bf4469c8507366592a7100 (diff) |
Fixed a GCC2 incompatibility, replaced break with return
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@730 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_antibottler.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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++) { |