mirror of
https://github.com/anope/anope.git
synced 2026-07-10 15:43:13 +02:00
BUILD : 1.7.5 (364) NOTES : Added nullfix patch from Trystan.
git-svn-id: svn://svn.anope.org/anope/trunk@364 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@235 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
a9dd1756cf
commit
7bc5f4a8ed
@@ -306,6 +306,13 @@ User *finduser(const char *nick)
|
||||
{
|
||||
User *user;
|
||||
|
||||
if (!nick || !*nick) {
|
||||
if (debug) {
|
||||
alog("Error: finduser() called with NULL values");
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (debug >= 3)
|
||||
alog("debug: finduser(%p)", nick);
|
||||
user = userlist[HASH(nick)];
|
||||
|
||||
Reference in New Issue
Block a user