diff options
| author | 2007-10-24 15:07:24 +0000 | |
|---|---|---|
| committer | 2007-10-24 15:07:24 +0000 | |
| commit | beedfa3ce6601a70445d2f4a065ca6dd2876efa9 (patch) | |
| tree | 5e9068d6f020a6b27f04088e71fa76c4c7b9d0c7 /src/modules/m_antibottler.cpp | |
| parent | Move some stuff from using userrec cached stuff to using stuff in the connect... (diff) | |
Theres no need to check the address of a stack declared array for NULL, thanks darix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8340 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_antibottler.cpp')
| -rw-r--r-- | src/modules/m_antibottler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_antibottler.cpp b/src/modules/m_antibottler.cpp index cef990a71..46b152948 100644 --- a/src/modules/m_antibottler.cpp +++ b/src/modules/m_antibottler.cpp @@ -57,7 +57,7 @@ class ModuleAntiBottler : public Module } } // Bug Fix (#14) -- FCS - if (!(data) || !(*data)) + if (!*data) return 0; strtok(data," "); |
