mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
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:
parent
5b80dc83fd
commit
beedfa3ce6
@ -57,7 +57,7 @@ class ModuleAntiBottler : public Module
|
||||
}
|
||||
}
|
||||
// Bug Fix (#14) -- FCS
|
||||
if (!(data) || !(*data))
|
||||
if (!*data)
|
||||
return 0;
|
||||
|
||||
strtok(data," ");
|
||||
|
Loading…
x
Reference in New Issue
Block a user