summaryrefslogtreecommitdiff
path: root/src/nickserv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/nickserv.cpp')
-rw-r--r--src/nickserv.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/nickserv.cpp b/src/nickserv.cpp
index a66738c03..65126b987 100644
--- a/src/nickserv.cpp
+++ b/src/nickserv.cpp
@@ -52,13 +52,10 @@ bool is_on_access(const User *u, const NickCore *nc)
return false;
Anope::string buf = u->GetIdent() + "@" + u->host, buf2, buf3;
- if (ircd->vhost)
- {
- if (!u->vhost.empty())
- buf2 = u->GetIdent() + "@" + u->vhost;
- if (!u->GetCloakedHost().empty())
- buf3 = u->GetIdent() + "@" + u->GetCloakedHost();
- }
+ if (!u->vhost.empty())
+ buf2 = u->GetIdent() + "@" + u->vhost;
+ if (!u->GetCloakedHost().empty())
+ buf3 = u->GetIdent() + "@" + u->GetCloakedHost();
for (unsigned i = 0, end = nc->access.size(); i < end; ++i)
{