]> jfr.im git - irc/rizon/znc.git/commitdiff
Don't fail to load if can't find fixfreenode.
authorAlexey Sokolov <redacted>
Sun, 10 Jul 2011 12:46:34 +0000 (19:46 +0700)
committerAlexey Sokolov <redacted>
Sun, 10 Jul 2011 12:46:34 +0000 (19:46 +0700)
User.cpp

index e3d27e7c6e7cc039ac82f1d726100180910b6e39..6e4d44580a9202729631e73da281b886d4866d6f 100644 (file)
--- a/User.cpp
+++ b/User.cpp
@@ -308,6 +308,12 @@ bool CUser::ParseConfig(CConfig* pConfig, CString& sError) {
                        sModName = "disconkick";
                }
 
+               // XXX Legacy crap, added in znc 0.099
+               if (sModName == "fixfreenode") {
+                       CUtils::PrintMessage("NOTICE: [fixfreenode] doesn't do anything useful anymore, ignoring it");
+                       continue;
+               }
+
                CUtils::PrintAction("Loading Module [" + sModName + "]");
                CString sModRet;
                CString sArgs = sValue.Token(1, true);