mirror of
https://github.com/anope/anope.git
synced 2026-07-02 12:33:13 +02:00
Only show the last quit message if the user is not online.
This commit is contained in:
@@ -120,10 +120,12 @@ public:
|
||||
info[_("Nick registered")] = Anope::strftime(na->registered, source.GetAccount());
|
||||
|
||||
if (!nick_online)
|
||||
{
|
||||
info[_("Last seen")] = Anope::strftime(na->last_seen, source.GetAccount());
|
||||
|
||||
if (!na->last_quit.empty() && (show_hidden || !na->nc->HasExt("HIDE_QUIT")))
|
||||
info[_("Last quit message")] = na->last_quit;
|
||||
if (!na->last_quit.empty() && (show_hidden || !na->nc->HasExt("HIDE_QUIT")))
|
||||
info[_("Last quit message")] = na->last_quit;
|
||||
}
|
||||
|
||||
if (!na->nc->email.empty() && (show_hidden || !na->nc->HasExt("HIDE_EMAIL")))
|
||||
info[_("Email address")] = na->nc->email;
|
||||
|
||||
Reference in New Issue
Block a user