summaryrefslogtreecommitdiff
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
parent951de6b39d677c57fa995b14c53e2f7635dd5329 (diff)
Fixed bug #1178 - properly track users hosts when a user is -x and has a vhost via chghost
-rw-r--r--Changes3
-rw-r--r--src/actions.c2
-rw-r--r--version.log3
3 files changed, 5 insertions, 3 deletions
diff --git a/Changes b/Changes
index 41fb781b4..48489a8ce 100644
--- a/Changes
+++ b/Changes
@@ -7,7 +7,7 @@ Anope Version 1.8 - SVN
05/22 A Added an internal event called when a nick is recovered [ #00]
05/23 A Added old nick parameter to EVENT_CHANGE_NICK [ #00]
04/15 F Fixed os_info to backup its database on Windows [ #00]
-04/15 F Fixed a potential crash in cs_clear ops [#1154]
+04/15 F Fixed a potential crash in cs_clear ops when using UnrealIRCd [#1154]
04/16 F Fixed missing TS6SID on FJOIN in inspircd12 [ #00]
04/19 F Fixed ns_info to show nick expire times to opers not only admins[ #00]
04/28 F Fixed a bug that could make some nick requests disappear [ #00]
@@ -16,6 +16,7 @@ Anope Version 1.8 - SVN
06/15 F Fixed ./Config to correctly load config.cache [ #00]
06/24 F Fixed pseudo-client kills not being detected on some TS6 IRCDs. [ #00]
07/01 F Fixed encrypting very long passwords when registering [#1172]
+08/03 F Fixed tracking users vhosts when there is no vhost mode [#1178]
Anope Version 1.8.4
-------------------
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;
diff --git a/version.log b/version.log
index 2a708ac32..498df5a51 100644
--- a/version.log
+++ b/version.log
@@ -8,9 +8,10 @@ VERSION_MAJOR="1"
VERSION_MINOR="8"
VERSION_PATCH="4"
VERSION_EXTRA="-git"
-VERSION_BUILD="3018"
+VERSION_BUILD="3019"
# $Log$ # Changes since the 1.8.4 Release
+#Revision 3019 - Properly track users hosts when a user is -x and has a vhost via chghost
#Revision 3018 - Accommodate for the InspIRCd 2.0 protocol being even more oversized then we previously thought..
#Revision 3017 - Log out super admins when someone forces them to logout
#Revision 3016 - Fixed a potential crash from receiving a very long FMODE from InspIRCd