Skip to content

Commit

Permalink
Update CConsole.cpp
Browse files Browse the repository at this point in the history
Improve the log message in case a player has not enough permission to execute a command
  • Loading branch information
Necktrox authored and ccw808 committed Dec 31, 2015
1 parent bb5f224 commit 17f793b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MTA10_Server/mods/deathmatch/logic/CConsole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ bool CConsole::HandleInput ( const char* szCommand, CClient* pClient, CClient* p
}

// Not enough access, tell the console
CLogger::LogPrintf ( "DENIED: Denied '%s' access to command '%s'\n", pClient->GetNick (), szKey );
CLogger::LogPrintf ( "ACL: Denied '%s' access to command '%s'\n", pClient->GetNick (), szKey );

// Tell the client
char szBuffer [128];
Expand Down

0 comments on commit 17f793b

Please sign in to comment.