diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-01 18:00:20 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-01 18:00:20 +0000 |
commit | 75593a22c85de975b136fc261c477735d3bc407f (patch) | |
tree | d7466081fb80a2e8a58c7950fbc31995a276d364 /src/map/atcommand.h | |
parent | 37343d0ae89a73c53b80ea670bc4d76249236aba (diff) | |
download | hercules-75593a22c85de975b136fc261c477735d3bc407f.tar.gz hercules-75593a22c85de975b136fc261c477735d3bc407f.tar.bz2 hercules-75593a22c85de975b136fc261c477735d3bc407f.tar.xz hercules-75593a22c85de975b136fc261c477735d3bc407f.zip |
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
Diffstat (limited to 'src/map/atcommand.h')
-rw-r--r-- | src/map/atcommand.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |