From 3308ab715393e6da5bda085026b4d5d4085890e7 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 3 Aug 2010 23:09:18 -0400 Subject: Fixed bug #1178 - properly track users hosts when a user is -x and has a vhost via chghost --- src/actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit