aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar brain2007-08-21 20:08:37 +0000
committerGravatar brain2007-08-21 20:08:37 +0000
commitfd9bcbb83e80fa68224320f4291e46508c29551a (patch)
tree64950eaf8467f687b18a8db882c6d4e10df543dd
parentImplement feature in bug #395 reported by stealth, and tidy up a bit (diff)
Use userrec::MakeHost not userrec::GetFullRealHost, one has the nick on and we dont want it
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7792 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_hostchange.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp
index 4a1e501a3..ebc8a1ffa 100644
--- a/src/modules/m_hostchange.cpp
+++ b/src/modules/m_hostchange.cpp
@@ -101,7 +101,7 @@ class ModuleHostChange : public Module
{
for (hostchanges_t::iterator i = hostchanges.begin(); i != hostchanges.end(); i++)
{
- if (((match(user->GetFullRealHost(),i->first.c_str(),true)) || (match(user->MakeHostIP(),i->first.c_str()))))
+ if (((match(user->MakeHost(),i->first.c_str(),true)) || (match(user->MakeHostIP(),i->first.c_str()))))
{
Host* h = i->second;