]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_hostchange.cpp
Fix these too
[user/henk/code/inspircd.git] / src / modules / m_hostchange.cpp
index f51dfd992453b581f786d4585d5eaf92540cba92..7861823f1c83b60e721a1e68acbd675d8c5b138b 100644 (file)
@@ -97,7 +97,7 @@ class ModuleHostChange : public Module
        {
                for (hostchanges_t::iterator i = hostchanges.begin(); i != hostchanges.end(); i++)
                {
-                       if (((match(user->MakeHost(),i->first.c_str(),true)) || (match(user->MakeHostIP(),i->first.c_str()))))
+                       if (((match(user->MakeHost(), i->first, true)) || (match(user->MakeHostIP(), i->first))))
                        {
                                Host* h = i->second;