Fix previous commit. That's why I said let psychon do it. Hahaha.

Seriously though, why does stuff return TRUE when it fails and FALSE when everything's fine? Pretty weird.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1821 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
cflakes
2010-03-10 01:35:47 +00:00
parent 3d34b46d1a
commit 22d5d440bc
+1 -1
View File
@@ -1803,7 +1803,7 @@ bool CZNC::AddUser(CUser* pUser, CString& sErrorRet) {
<< sErrorRet << "]");
return false;
}
if (!GetModules().OnAddUser(*pUser, sErrorRet)) {
if (GetModules().OnAddUser(*pUser, sErrorRet)) {
DEBUG("AddUser [" << pUser->GetUserName() << "] aborted by a module ["
<< sErrorRet << "]");
return false;