]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chanlog.cpp
Fix whitelist check for a badchan redirect (#1676).
[user/henk/code/inspircd.git] / src / modules / m_chanlog.cpp
index afe213f6141f441e96d717da751ebe640203ed67..64b79a39ede443f86aea5dd173c1e5c5a209910e 100644 (file)
@@ -62,7 +62,7 @@ class ModuleChanLog : public Module
                if (itpair.first == itpair.second)
                        return MOD_RES_PASSTHRU;
 
-               const std::string snotice = "\2" + desc + "\2: " + msg;
+               const std::string snotice = "\002" + desc + "\002: " + msg;
 
                for (ChanLogTargets::const_iterator it = itpair.first; it != itpair.second; ++it)
                {
@@ -80,7 +80,7 @@ class ModuleChanLog : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Logs snomask output to channel(s).", VF_VENDOR);
+               return Version("Logs snomask output to channel(s)", VF_VENDOR);
        }
 };