diff options
-rw-r--r-- | src/modules/m_antibottler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/m_antibottler.cpp b/src/modules/m_antibottler.cpp index d6a47fa90..61e6bdc36 100644 --- a/src/modules/m_antibottler.cpp +++ b/src/modules/m_antibottler.cpp @@ -45,10 +45,16 @@ class ModuleAntiBottler : public Module not_bottler = true; } } + // Bug Fix (#14) -- FCS + if (!strlen(data)) break; char *user = strtok(data," "); + if (!strlen(data)) break; char *ident = strtok(NULL," "); + if (!strlen(data)) break; char *local = strtok(NULL," "); + if (!strlen(data)) break; char *remote = strtok(NULL," :"); + if (!strlen(data)) break; char *gecos = strtok(NULL,"\r\n"); for (int j = 0; j < strlen(remote); j++) { |