diff options
| author | 2006-03-09 18:18:18 +0000 | |
|---|---|---|
| committer | 2006-03-09 18:18:18 +0000 | |
| commit | 9fd6aff54fa4b554a45841e2f13b401cb34466ab (patch) | |
| tree | ba9d4cc193f325c2990c4976c36701712730db47 /src/modules/m_antibottler.cpp | |
| parent | Improved to avoid strlen (diff) | |
| download | inspircd++-9fd6aff54fa4b554a45841e2f13b401cb34466ab.tar.gz inspircd++-9fd6aff54fa4b554a45841e2f13b401cb34466ab.tar.bz2 inspircd++-9fd6aff54fa4b554a45841e2f13b401cb34466ab.zip | |
Strlen bashing.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3600 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_antibottler.cpp')
| -rw-r--r-- | src/modules/m_antibottler.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/modules/m_antibottler.cpp b/src/modules/m_antibottler.cpp index 3c0f4e67b..89effc607 100644 --- a/src/modules/m_antibottler.cpp +++ b/src/modules/m_antibottler.cpp @@ -72,11 +72,6 @@ class ModuleAntiBottler : public Module if (!(data) || !(*data)) return; - /* - * slight efficiency fix: strtok() just returns NULL if it has no more - * tokens to return. Plus strlen's here really could have been replaced - * with above pointer voodoo :-). --w00t - */ strtok(data," "); char *ident = strtok(NULL," "); char *local = strtok(NULL," "); |
