[7503] Implement proper (not 2 level limited) help.security set for chat commands...
commite353d0f1befdf7d01667886a4b1444596bbcee12
authorVladimirMangos <vladimir@getmangos.com>
Fri, 20 Mar 2009 21:01:34 +0000 (21 00:01 +0300)
committerVladimirMangos <vladimir@getmangos.com>
Fri, 20 Mar 2009 21:09:51 +0000 (21 00:09 +0300)
treeb3a843c2cba3b779a27ad3a085d335efc58c59f5
parent82bd60c7d213ac64e207dd6753825291b89033cd
[7503] Implement proper (not 2 level limited) help.security set for chat commands and subcommands. Update some commands data.

* Now `command` table loading set data for any use subcommand levels
* Errors output for not existed in code commands at related data loading from table.
* Detail log level report outout about overwrited security level for loaded chat command data.

Using this functionality found and fixed/update data for `command` in mangos.sql

NOTE: some command security levels changed.

Thank you to benemorius for pointing to this security problem.
sql/mangos.sql
sql/updates/7503_01_mangos_command.sql [new file with mode: 0644]
sql/updates/Makefile.am
src/game/Chat.cpp
src/game/Chat.h
src/game/Level3.cpp
src/shared/revision_nr.h