mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 20:19:02 -04:00
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
This commit is contained in:
parent
377d879f48
commit
eeb3a177f8
@ -60,7 +60,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