From 59c8522a9621dee984a1677ff1d466a68e0b3c74 Mon Sep 17 00:00:00 2001 From: psychon Date: Mon, 12 Nov 2007 21:28:07 +0000 Subject: [PATCH] Add some comments to make clear what this code does (yay, some comments in the source!) git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@869 726aef4b-f618-498e-8847-2d620e286838 --- znc.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/znc.cpp b/znc.cpp index ee55d512..1b54d265 100644 --- a/znc.cpp +++ b/znc.cpp @@ -1041,6 +1041,8 @@ bool CZNC::ParseConfig(const CString& sConfig) { try { bool bModRet = pUser->GetModules().LoadModule(sModName, sArgs, pUser, sModRet); + // If the module was loaded, sModRet contains + // "Loaded Module [name] ..." and we strip away this beginning. if (bModRet) sModRet = sModRet.Token(1, true, sModName + "] "); @@ -1151,6 +1153,8 @@ bool CZNC::ParseConfig(const CString& sConfig) { try { bool bModRet = GetModules().LoadModule(sModName, sArgs, NULL, sModRet); + // If the module was loaded, sModRet contains + // "Loaded Module [name] ..." and we strip away this beginning. if (bModRet) sModRet = sModRet.Token(1, true, sModName + "] ");