diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-12 17:33:21 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-12 17:33:21 +0000 |
commit | 570847ae0a771aa0d04392d08181c8a201f93a9c (patch) | |
tree | f95b4719f31d0a4b1cfdb32ff12e4ee7d16ee26a /src | |
parent | 88b4e897ecab5c559672da0d72945fc785d9eef9 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/mode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |