fixed crash in nickserv.c
authorpk910 <philipp@zoelle1.de>
Mon, 30 Jan 2012 20:05:32 +0000 (21:05 +0100)
committerpk910 <philipp@zoelle1.de>
Mon, 30 Jan 2012 20:05:32 +0000 (21:05 +0100)
src/nickserv.c

index 8632fa8312d3cb8668cd76fb6a5863b452a26e95..2c2c8b6297f1875deb373d4e27ca1cec4c131abd 100644 (file)
@@ -4192,6 +4192,8 @@ nickserv_db_read_authlog(UNUSED_ARG(const char *key), void *data, void *extra)
     str = database_get_data(rd->d.object, KEY_AUTHLOG_QUIT_REASON, RECDB_QSTRING);
     authlog->quit_reason = str ? strdup(str) : NULL;
     
+    authlog->user = NULL;
+    
     authlog->next = NULL;
     
     //append it to the end of the list...