diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-24 15:07:24 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-24 15:07:24 +0000 |
commit | beedfa3ce6601a70445d2f4a065ca6dd2876efa9 (patch) | |
tree | 5e9068d6f020a6b27f04088e71fa76c4c7b9d0c7 | |
parent | 5b80dc83fdb6b7952e452a8eb2355005fdb5366c (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
-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," "); |