summaryrefslogtreecommitdiff
path: root/src/nickserv.c
diff options
context:
space:
mode:
authorViper <viper@anope.org>2011-11-16 16:30:45 +0100
committerViper <viper@anope.org>2011-11-16 16:30:45 +0100
commit2a1cd54bc7d6e8cdd9accccef50d4ec9bb1d6f36 (patch)
treeb9f46e151a6d91abb158370f06befe0d26a27637 /src/nickserv.c
parent0dd4a98e5369ef0c023a1fa7174988ceba32f27d (diff)
Use vident instead of ident in combination with the vhost for botserv kick(ban)s and nickserv access list checking.
Diffstat (limited to 'src/nickserv.c')
-rw-r--r--src/nickserv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nickserv.c b/src/nickserv.c
index a38894268..f60ce81c8 100644
--- a/src/nickserv.c
+++ b/src/nickserv.c
@@ -1292,8 +1292,8 @@ int is_on_access(User * u, NickCore * nc)
sprintf(buf, "%s@%s", u->username, u->host);
if (ircd->vhost) {
if (u->vhost) {
- buf2 = scalloc(strlen(u->username) + strlen(u->vhost) + 2, 1);
- sprintf(buf2, "%s@%s", u->username, u->vhost);
+ buf2 = scalloc(strlen(u->vident) + strlen(u->vhost) + 2, 1);
+ sprintf(buf2, "%s@%s", u->vident, u->vhost);
}
if (u->chost)
{