]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_securelist.cpp
Mention ulines too
[user/henk/code/inspircd.git] / src / modules / m_securelist.cpp
index 0d04a13ae17b3c136667621a9f801263deabb91c..2a693836c9140e4f803a3a0a5d606e365ee88113 100644 (file)
@@ -34,7 +34,7 @@ class ModuleSecureList : public Module
 
        virtual Version GetVersion()
        {
-               return Version(1,2,0,0,VF_VENDOR,API_VERSION);
+               return Version("$Id$",VF_VENDOR,API_VERSION);
        }
 
        void OnRehash(User* user, const std::string &parameter)
@@ -64,7 +64,7 @@ class ModuleSecureList : public Module
                {
                        /* Normally wouldnt be allowed here, are they exempt? */
                        for (std::vector<std::string>::iterator x = allowlist.begin(); x != allowlist.end(); x++)
-                               if (ServerInstance->MatchText(user->MakeHost(), *x))
+                               if (InspIRCd::Match(user->MakeHost(), *x))
                                        return 0;
 
                        /* Not exempt, BOOK EM DANNO! */