]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/nickserv.c
some debugging code
[irc/evilnet/x3.git] / src / nickserv.c
index 82b012246e8a149d241939ca28f372df571aaedf..593e112b0f4ec7a34f00d6753d7e9778819bfef0 100644 (file)
@@ -3711,13 +3711,14 @@ handle_account(struct userNode *user, const char *stamp)
         timestamp = atoi(colon+1);
     }
     hi = dict_find(nickserv_handle_dict, stamp, NULL);
-    if(hi && hi->registered != timestamp)
+    if(hi && timestamp && hi->registered != timestamp)
     {
         log_module(MAIN_LOG, LOG_WARNING, "%s using account %s but timestamp does not match %lu is not %lu.", user->nick, stamp, timestamp, hi->registered);
         return;
     }
 #else
     hi = dict_find(nickserv_id_dict, stamp, NULL);
+    log_module(MAIN_LOG, LOG_WARNING, "Using non-P10 code in accounts, not tested at all!");
 #endif
 
     if (hi) {