1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 21:46:38 +02:00

Always show expire time for nicks in /ns info to opers, even if the user is online

Make Anope::strftime show "now" if the time is now
Fix typo in nickalias.cpp for the type of the last_seen field, spotted by grawity
This commit is contained in:
Adam
2013-10-05 13:21:28 -04:00
parent 277f735505
commit 1b08ba8f41
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ void NickAlias::Serialize(Serialize::Data &data) const
data["last_usermask"] << this->last_usermask;
data["last_realhost"] << this->last_realhost;
data.SetType("time_registered", Serialize::Data::DT_INT); data["time_registered"] << this->time_registered;
data.SetType("time_registered", Serialize::Data::DT_INT); data["last_seen"] << this->last_seen;
data.SetType("last_seen", Serialize::Data::DT_INT); data["last_seen"] << this->last_seen;
data["nc"] << this->nc->display;
if (this->HasVhost())