mirror of
https://github.com/znc/znc.git
synced 2026-05-09 06:44:40 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user