diff options
| author | 2007-08-21 20:08:05 +0000 | |
|---|---|---|
| committer | 2007-08-21 20:08:05 +0000 | |
| commit | f09013dd677f430494d66a8d7712e6e475eba45e (patch) | |
| tree | c7b3f6d874aab56be4aead44747fb85adfc93999 /src/modules/m_hostchange.cpp | |
| parent | Implement feature in bug #395 reported by stealth, and tidy up a bit (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/m_hostchange.cpp')
| -rw-r--r-- | src/modules/m_hostchange.cpp | 2 |
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; |
