diff options
author | Adam <Adam@anope.org> | 2010-08-03 23:09:18 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-08-03 23:09:18 -0400 |
commit | 3308ab715393e6da5bda085026b4d5d4085890e7 (patch) | |
tree | 8046f8d435c4d735d577b42209480629cd405c00 /src | |
parent | 951de6b39d677c57fa995b14c53e2f7635dd5329 (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.c | 2 |
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; |