diff options
Diffstat (limited to 'src/modules')
-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++) { |