]> jfr.im git - irc/evilnet/x3.git/commitdiff
Fix for NickServ NICKINFO using the wrong lastseen timestamp
authorMatthew Beeching <redacted>
Fri, 14 May 2010 00:55:12 +0000 (01:55 +0100)
committerMatthew Beeching <redacted>
Fri, 14 May 2010 00:55:12 +0000 (01:55 +0100)
ChangeLog
src/nickserv.c

index 4033fd0b51d25cbc0d48991c9aa47ff88dbb4f78..cb013fad344e29ef5b92887dd7773afbcd2b4b44 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
 /***********************************************************************
 X3 ChangeLog
 
+2010-05-14  Matthew Beeching  <jobe@mdbnet.co.uk>
+
+       * src/nickserv.c: Fix for NickServ NICKINFO using the wrong
+       lastseen timestamp.
+
 2010-05-13  Matthew Beeching  <jobe@mdbnet.co.uk>
 
        * src/proto-p10.c: Fixed support for channel mode +a (Admins only).
index 67336ff5e2517a553916408b7710eab573370023..dfcb698690139d1721ae0e8297656065c5d2206a 100644 (file)
@@ -1972,7 +1972,7 @@ static NICKSERV_FUNC(cmd_nickinfo)
     reply("NSMSG_NICKINFO_REGGED", ctime(&ni->registered));
 
     if (!GetUserH(ni->nick)) {
-        intervalString(buff, now - ni->owner->lastseen, user->handle_info);
+        intervalString(buff, now - ni->lastseen, user->handle_info);
         reply("NSMSG_NICKINFO_LASTSEEN", buff);
     } else {
         reply("NSMSG_NICKINFO_LASTSEEN_NOW");