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
This commit is contained in:
brain 2007-10-24 15:07:24 +00:00
parent 5b80dc83fd
commit beedfa3ce6

View File

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