summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2015-05-11 01:01:39 +0200
committerHaruna <haru@dotalux.com>2015-05-11 01:01:39 +0200
commit03c4d16662fb624a4e81dd1b18ee4bd84be8282e (patch)
tree246703290e8d92a17ee6f496fc32569efb11b665 /src/map/atcommand.c
parent964dcdc3c3009ad33eb91b2e6649368a74af0d6f (diff)
parentdf98280e54cc199f3ff93cba848be1911ec9b8d9 (diff)
downloadhercules-03c4d16662fb624a4e81dd1b18ee4bd84be8282e.tar.gz
hercules-03c4d16662fb624a4e81dd1b18ee4bd84be8282e.tar.bz2
hercules-03c4d16662fb624a4e81dd1b18ee4bd84be8282e.tar.xz
hercules-03c4d16662fb624a4e81dd1b18ee4bd84be8282e.zip
Merge pull request #508 from 4144/sanity
Extend sanity check configure flag with all sanity checks.
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index e934a992b..a1666b44e 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -10263,7 +10263,7 @@ void atcommand_doload(void) {
void atcommand_expand_message_table(void) {
RECREATE(atcommand->msg_table, char **, ++atcommand->max_message_table);
- RECREATE(atcommand->msg_table[atcommand->max_message_table - 1], char *, MAX_MSG);
+ CREATE(atcommand->msg_table[atcommand->max_message_table - 1], char *, MAX_MSG);
}
void do_init_atcommand(bool minimal) {