X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_customtitle.cpp;h=a3aabadc7f29babf94cedf54b3660ec805f58215;hb=73b5d276db1903256c7432e333b4db8d01d58d05;hp=75d086f525866e4ba945b0abb8173b1967a70200;hpb=517a26252a091eaee0149458a86fc43731bce618;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_customtitle.cpp b/src/modules/m_customtitle.cpp index 75d086f52..a3aabadc7 100644 --- a/src/modules/m_customtitle.cpp +++ b/src/modules/m_customtitle.cpp @@ -33,7 +33,7 @@ class CommandTitle : public Command std::string xhost; while (hl >> xhost) { - if (InspIRCd::Match(host, xhost) || match(ip,xhost, true)) + if (InspIRCd::Match(host, xhost) || InspIRCd::MatchCIDR(ip,xhost)) { return true; } @@ -207,7 +207,7 @@ class ModuleCustomTitle : public Module virtual Version GetVersion() { - return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION); + return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION); } };