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:
1 parent
c3e4a7a1e7
commit
c30b9a240f
1 file changed
+1
-1
+1
-1
@@ -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