mirror of
https://github.com/anope/anope.git
synced 2026-07-05 09:33:12 +02:00
Fixed vhost check on identify
This commit is contained in:
@@ -36,7 +36,7 @@ class HostServCore : public Module
|
||||
NickAlias *na = findnick(u->nick);
|
||||
if (!na || !na->HasVhost())
|
||||
na = findnick(u->Account()->display);
|
||||
if (!na)
|
||||
if (!na || !na->HasVhost())
|
||||
return;
|
||||
|
||||
if (u->vhost.empty() || !u->vhost.equals_cs(na->GetVhostHost()) || (!na->GetVhostIdent().empty() && !u->GetVIdent().equals_cs(na->GetVhostIdent())))
|
||||
|
||||
Reference in New Issue
Block a user