summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-08-03 23:09:18 -0400
committerAdam <Adam@anope.org>2010-08-03 23:09:18 -0400
commit3308ab715393e6da5bda085026b4d5d4085890e7 (patch)
tree8046f8d435c4d735d577b42209480629cd405c00 /src
parent951de6b39d677c57fa995b14c53e2f7635dd5329 (diff)
Fixed bug #1178 - properly track users hosts when a user is -x and has a vhost via chghost
Diffstat (limited to 'src')
-rw-r--r--src/actions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c
index b539d86a5..e464990aa 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -240,7 +240,7 @@ char *common_get_vhost(User * u)
if (!u)
return NULL;
- if (ircd->vhostmode && (u->mode & ircd->vhostmode) && u->vhost)
+ if (u->vhost)
return u->vhost;
else if (ircd->vhostmode && (u->mode & ircd->vhostmode) && u->chost)
return u->chost;