From beedfa3ce6601a70445d2f4a065ca6dd2876efa9 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 24 Oct 2007 15:07:24 +0000 Subject: [PATCH] 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 --- 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 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," "); -- 2.39.5