summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-21 20:08:05 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-21 20:08:05 +0000
commitf09013dd677f430494d66a8d7712e6e475eba45e (patch)
treec7b3f6d874aab56be4aead44747fb85adfc93999 /src/modules
parentb7e299c2e10d915d5e59df4cb3f54951c8daa999 (diff)
Whoops, found a bug in it anyway :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7791 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-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;