summaryrefslogtreecommitdiff
path: root/src/map/atcommand.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-06 15:06:00 -0200
committershennetsind <ind@henn.et>2013-11-06 15:06:00 -0200
commit778facb21f822cea549939c8dbee886e1cd342aa (patch)
treefb4252f79ab8c25f38c94039cd0c60f54261f0c5 /src/map/atcommand.h
parent4d860972e973b02a3a8b691206abd659f9651a21 (diff)
downloadhercules-778facb21f822cea549939c8dbee886e1cd342aa.tar.gz
hercules-778facb21f822cea549939c8dbee886e1cd342aa.tar.bz2
hercules-778facb21f822cea549939c8dbee886e1cd342aa.tar.xz
hercules-778facb21f822cea549939c8dbee886e1cd342aa.zip
Modified @command loading
So that HPM plugins are able to override default commands, thanks to Akkarin for bringing it up. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/atcommand.h')
-rw-r--r--src/map/atcommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.h b/src/map/atcommand.h
index 63c38e4d1..e4c66df40 100644
--- a/src/map/atcommand.h
+++ b/src/map/atcommand.h
@@ -110,7 +110,7 @@ struct atcommand_interface {
int (*cmd_db_clear_sub) (DBKey key, DBData *data, va_list args);
void (*doload) (void);
void (*base_commands) (void);
- bool (*add) (char *name, AtCommandFunc func);
+ bool (*add) (char *name, AtCommandFunc func, bool replace);
};
struct atcommand_interface *atcommand;