From 75593a22c85de975b136fc261c477735d3bc407f Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 1 Jan 2012 18:00:20 +0000 Subject: Added new @/# command aliases pattern, all aliases can now be modified/added/removed in the front-end within atcommand_conf (no longer hardcoded). The aliases pattern was defined in this topic: tid:56343 atcommand_conf file rewrite/update belongs to Jguy and BrianL git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15343 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/atcommand.h') diff --git a/src/map/atcommand.h b/src/map/atcommand.h index 5456bc348..415aa9305 100644 --- a/src/map/atcommand.h +++ b/src/map/atcommand.h @@ -18,7 +18,7 @@ extern char charcommand_symbol; typedef int (*AtCommandFunc)(const int fd, struct map_session_data* sd, const char* command, const char* message); bool is_atcommand(const int fd, struct map_session_data* sd, const char* message, int type); -int get_atcommand_level(const AtCommandFunc func); +int get_atcommand_level(const char* name); void do_init_atcommand(void); void do_final_atcommand(void); -- cgit v1.2.3-70-g09d2