]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Theres no need to check the address of a stack declared array for NULL, thanks darix
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 24 Oct 2007 15:07:24 +0000 (15:07 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 24 Oct 2007 15:07:24 +0000 (15:07 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8340 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_antibottler.cpp

index cef990a71e0119235196dd3068ab630bfb15620c..46b1529489ebabce5bed15892ca78f2ea613d96e 100644 (file)
@@ -57,7 +57,7 @@ class ModuleAntiBottler : public Module
                                }
                        }
                        // Bug Fix (#14) -- FCS
-                       if (!(data) || !(*data))
+                       if (!*data)
                                return 0;
 
                        strtok(data," ");