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
This commit is contained in:
psychon
2007-11-12 21:28:07 +00:00
parent a60270de81
commit 59c8522a96
+4
View File
@@ -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 + "] ");