From 570847ae0a771aa0d04392d08181c8a201f93a9c Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 12 Nov 2006 17:33:21 +0000 Subject: Show chanrec::age in MODE #chan, not the deprecated chanrec::created git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5717 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/mode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mode.cpp b/src/mode.cpp index c07682bcf..dc4de1261 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -244,7 +244,7 @@ void ModeParser::DisplayCurrentModes(userrec *user, userrec* targetuser, chanrec { /* Display channel's current mode string */ user->WriteServ("324 %s %s +%s",user->nick, targetchannel->name, targetchannel->ChanModes(targetchannel->HasUser(user))); - user->WriteServ("329 %s %s %d", user->nick, targetchannel->name, targetchannel->created); + user->WriteServ("329 %s %s %lu", user->nick, targetchannel->name, (unsigned long)targetchannel->age); return; } else if (targetuser) -- cgit v1.2.3