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:
psychon
2009-03-09 17:42:12 +00:00
parent c3e4a7a1e7
commit c30b9a240f

View File

@@ -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