diff options
author | Adam <Adam@anope.org> | 2013-10-05 13:21:28 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-10-05 13:21:28 -0400 |
commit | 1b08ba8f4176217d43e7d8ca1ce23a06e33d2378 (patch) | |
tree | 84417b0aea49fe3f74d54fe62dd08135b9126d40 /src/nickalias.cpp | |
parent | 277f735505ccb16d6fcc15ad21af4325e58f3615 (diff) |
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
Diffstat (limited to 'src/nickalias.cpp')
-rw-r--r-- | src/nickalias.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nickalias.cpp b/src/nickalias.cpp index 080bf5ce5..ed473e867 100644 --- a/src/nickalias.cpp +++ b/src/nickalias.cpp @@ -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()) |