diff options
author | shennetsind <ind@henn.et> | 2013-05-31 23:55:21 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-05-31 23:55:21 -0300 |
commit | d7e44b9b752e875bd37714309ee524f9700f7d2a (patch) | |
tree | d4123ecc1711be8b6efdd896606698dde85d7b2c /src/map/atcommand.c | |
parent | 564aa7f626de7512616cf8dd289d0d1cfb3b9621 (diff) | |
download | hercules-d7e44b9b752e875bd37714309ee524f9700f7d2a.tar.gz hercules-d7e44b9b752e875bd37714309ee524f9700f7d2a.tar.bz2 hercules-d7e44b9b752e875bd37714309ee524f9700f7d2a.tar.xz hercules-d7e44b9b752e875bd37714309ee524f9700f7d2a.zip |
Fixed Atcommand Logging
http://hercules.ws/board/topic/843-commands-arent-being-logged/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 796447633..e578fee85 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -9672,6 +9672,7 @@ void atcommand_basecommands(void) { safestrncpy(cmd->command, atcommand_base[i].command, sizeof(cmd->command)); cmd->func = atcommand_base[i].func; cmd->help = NULL;/* start as null dear */ + cmd->log = true; strdb_put(atcommand->db, cmd->command, cmd); } return; @@ -10150,6 +10151,7 @@ bool atcommand_hp_add(char *name, AtCommandFunc func) { safestrncpy(cmd->command, name, sizeof(cmd->command)); cmd->func = func; cmd->help = NULL;/* start as null dear */ + cmd->log = true; strdb_put(atcommand->db, cmd->command, cmd); return true; |