mirror of
https://github.com/anope/anope.git
synced 2026-06-28 08:36:37 +02:00
Add NickAlias::GetVhostMask for getting the vident@vhost.
This commit is contained in:
@@ -59,10 +59,8 @@ public:
|
||||
|
||||
if (HostServ)
|
||||
{
|
||||
if (!na->GetVhostIdent().empty())
|
||||
u->SendMessage(HostServ, _("Your vhost of \002%s\002@\002%s\002 is now activated."), na->GetVhostIdent().c_str(), na->GetVhostHost().c_str());
|
||||
else
|
||||
u->SendMessage(HostServ, _("Your vhost of \002%s\002 is now activated."), na->GetVhostHost().c_str());
|
||||
u->SendMessage(HostServ, _("Your vhost of \002%s\002 is now activated."),
|
||||
na->GetVhostMask().c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -107,10 +105,8 @@ public:
|
||||
|
||||
if (HostServ)
|
||||
{
|
||||
if (!na->GetVhostIdent().empty())
|
||||
u->SendMessage(HostServ, _("Your vhost of \002%s\002@\002%s\002 is now activated."), na->GetVhostIdent().c_str(), na->GetVhostHost().c_str());
|
||||
else
|
||||
u->SendMessage(HostServ, _("Your vhost of \002%s\002 is now activated."), na->GetVhostHost().c_str());
|
||||
u->SendMessage(HostServ, _("Your vhost of \002%s\002 is now activated."),
|
||||
na->GetVhostMask().c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user