diff options
author | frostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-25 13:19:46 +0000 |
---|---|---|
committer | frostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-25 13:19:46 +0000 |
commit | 4085f5dedc915399760ed14a6a9b404509aecf44 (patch) | |
tree | d0159f5cbaf755679b4596cc3f3b70ab3c49e977 | |
parent | cab377b0f887c00d0a7bafaaa29d76cace1bf493 (diff) |
Fixed USER bug (Bugtracker #14)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@723 e03df62e-2008-0410-955e-edbf42e46eb7
-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++) { |