From eeb3a177f807d875fd87d4a776d1af991519629b Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 24 Oct 2007 15:07:52 +0000 Subject: [PATCH] svnmerge 8340: Theres no need to check the address of a stack declared array for NULL, thanks darix git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8341 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_antibottler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_antibottler.cpp b/src/modules/m_antibottler.cpp index 3aa5592cc..fb6a25243 100644 --- a/src/modules/m_antibottler.cpp +++ b/src/modules/m_antibottler.cpp @@ -60,7 +60,7 @@ class ModuleAntiBottler : public Module } } // Bug Fix (#14) -- FCS - if (!(data) || !(*data)) + if (!*data) return 0; strtok(data," ");