mirror of
https://github.com/znc/znc.git
synced 2026-07-06 01:41:12 +02:00
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:
@@ -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 + "] ");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user