mirror of
https://github.com/anope/anope.git
synced 2026-07-01 00:06:39 +02:00
BUILD : 1.7.5 (385) BUGS : N/A NOTES : Moved more veriable declarations above the new null checking code
git-svn-id: svn://svn.anope.org/anope/trunk@385 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@254 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
3f487b80d9
commit
ce4151b462
+1
-1
@@ -1415,6 +1415,7 @@ void insert_core(NickCore * nc)
|
||||
/*************************************************************************/
|
||||
void insert_requestnick(NickRequest * nr)
|
||||
{
|
||||
int index = HASH(nr->nick);
|
||||
if (!nr) {
|
||||
if (debug) {
|
||||
alog("debug: insert_requestnick called with NULL values");
|
||||
@@ -1422,7 +1423,6 @@ void insert_requestnick(NickRequest * nr)
|
||||
return;
|
||||
}
|
||||
|
||||
int index = HASH(nr->nick);
|
||||
|
||||
nr->prev = NULL;
|
||||
nr->next = nrlists[index];
|
||||
|
||||
+6
-1
@@ -8,10 +8,15 @@
|
||||
VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="5"
|
||||
VERSION_BUILD="384"
|
||||
VERSION_BUILD="385"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.5 (385)
|
||||
# BUGS : N/A
|
||||
# NOTES : Moved more veriable declarations above the new null checking code
|
||||
#
|
||||
#
|
||||
# BUILD : 1.7.5 (384)
|
||||
# BUGS : N/A
|
||||
# NOTES : Moved veriable declaration to the top of function - btw, are all these null checks needed? createCommand should never be passed NULL values, its a wasted if imho... *shrug*
|
||||
|
||||
Reference in New Issue
Block a user