diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-01-05 11:30:18 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2020-02-09 20:21:40 +0100 |
commit | e6a78bfd74f3feb87b31cc98dc3b16c4ab0ae0fb (patch) | |
tree | bc8db112f7b22b81f7ff8c49d1f57e0fa0d76c9c /conf/messages.conf | |
parent | e9914cef348c2388a2f9d8b02c9d8a8ff7a75ab5 (diff) | |
download | hercules-e6a78bfd74f3feb87b31cc98dc3b16c4ab0ae0fb.tar.gz hercules-e6a78bfd74f3feb87b31cc98dc3b16c4ab0ae0fb.tar.bz2 hercules-e6a78bfd74f3feb87b31cc98dc3b16c4ab0ae0fb.tar.xz hercules-e6a78bfd74f3feb87b31cc98dc3b16c4ab0ae0fb.zip |
Applied code style and added some minor code improvements to src/map/atcommands.c.
* Applied code style to touched @commands.
* Added file path validation where fopen() is used to make sure a TXT file is passed.
* Added new messages for file name validation to conf/messages.conf.
* increased MAX_MSG to be able to use the new messages.
Diffstat (limited to 'conf/messages.conf')
-rw-r--r-- | conf/messages.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/messages.conf b/conf/messages.conf index e457ed882..e65ceaa48 100644 --- a/conf/messages.conf +++ b/conf/messages.conf @@ -1640,5 +1640,9 @@ 1516: Usage: @reloadnpc <path> {<flag>} 1517: Script could not be unloaded. +// File name validation +1518: No file extension specified. +1519: Not a TXT file. + //Custom translations import: conf/import/msg_conf.txt |