summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nickserv.c2
-rw-r--r--version.log7
2 files changed, 7 insertions, 2 deletions
diff --git a/src/nickserv.c b/src/nickserv.c
index befa2c1d4..44a4e1bb6 100644
--- a/src/nickserv.c
+++ b/src/nickserv.c
@@ -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];
diff --git a/version.log b/version.log
index 0779e74e8..abf533794 100644
--- a/version.log
+++ b/version.log
@@ -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*