mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Meh. Today is not a good day -.-
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1419 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -746,7 +746,7 @@ void CClient::UserCommand(const CString& sLine) {
|
||||
PutStatus("Unable to unload [" + sMod + "] Modules are not enabled.");
|
||||
#endif
|
||||
return;
|
||||
} else if ((sCommand.Equals("UPDATEMOD") || sCommand.Equals("UPDATEMODULE")) && pUser->IsAdmin() ) {
|
||||
} else if ((sCommand.Equals("UPDATEMOD") || sCommand.Equals("UPDATEMODULE")) && m_pUser->IsAdmin() ) {
|
||||
#ifndef _MODULES
|
||||
PutStatus("Modules are not enabled.");
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user