mirror of
https://github.com/anope/anope.git
synced 2026-07-02 14:33:13 +02:00
Add NickAlias::GetVhostMask for getting the vident@vhost.
This commit is contained in:
@@ -72,10 +72,7 @@ public:
|
||||
ListFormatter::ListEntry entry;
|
||||
entry["Number"] = stringify(display_counter);
|
||||
entry["Nick"] = na->nick;
|
||||
if (!na->GetVhostIdent().empty())
|
||||
entry["Vhost"] = na->GetVhostIdent() + "@" + na->GetVhostHost();
|
||||
else
|
||||
entry["Vhost"] = na->GetVhostHost();
|
||||
entry["Vhost"] = na->GetVhostMask();
|
||||
entry["Creator"] = na->GetVhostCreator();
|
||||
entry["Created"] = Anope::strftime(na->GetVhostCreated(), NULL, true);
|
||||
list.AddEntry(entry);
|
||||
@@ -93,10 +90,7 @@ public:
|
||||
ListFormatter::ListEntry entry;
|
||||
entry["Number"] = stringify(display_counter);
|
||||
entry["Nick"] = na->nick;
|
||||
if (!na->GetVhostIdent().empty())
|
||||
entry["Vhost"] = na->GetVhostIdent() + "@" + na->GetVhostHost();
|
||||
else
|
||||
entry["Vhost"] = na->GetVhostHost();
|
||||
entry["Vhost"] = na->GetVhostMask();
|
||||
entry["Creator"] = na->GetVhostCreator();
|
||||
entry["Created"] = Anope::strftime(na->GetVhostCreated(), NULL, true);
|
||||
list.AddEntry(entry);
|
||||
|
||||
Reference in New Issue
Block a user