From fd9bcbb83e80fa68224320f4291e46508c29551a Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 21 Aug 2007 20:08:37 +0000 Subject: 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 --- src/modules/m_hostchange.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.3.1-10-gc9f91