diff options
author | Haruna <haru@dotalux.com> | 2014-11-10 21:09:46 +0100 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2014-11-10 21:09:46 +0100 |
commit | 82ca427389450aabec616a55b1a5ed519bd44d8e (patch) | |
tree | 6c004ef9edd56f6ac039df26342810ac21de3bdb /src/map/atcommand.c | |
parent | c1e1099c701de325a076172bcadf544e5b3000c9 (diff) | |
parent | cfd535c7f5b442ae3d96a192a2dbe8650cae99af (diff) | |
download | hercules-82ca427389450aabec616a55b1a5ed519bd44d8e.tar.gz hercules-82ca427389450aabec616a55b1a5ed519bd44d8e.tar.bz2 hercules-82ca427389450aabec616a55b1a5ed519bd44d8e.tar.xz hercules-82ca427389450aabec616a55b1a5ed519bd44d8e.zip |
Merge pull request #386 from 4144/fixplugins
Fix interfaces methods usage.
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index ef528c454..dac51d153 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -10020,7 +10020,7 @@ void atcommand_config_read(const char* config_filename) { if (config_setting_type(command) != CONFIG_TYPE_ARRAY) continue; commandname = config_setting_name(command); - if ( !( commandinfo = atcommand_exists(commandname) ) ) { + if ( !( commandinfo = atcommand->exists(commandname) ) ) { ShowConfigWarning(command, "atcommand_config_read: can not set alias for non-existent command %s", commandname); continue; } @@ -10055,7 +10055,7 @@ void atcommand_config_read(const char* config_filename) { command = libconfig->setting_get_elem(nolog, i); commandname = config_setting_name(command); - if ( !( commandinfo = atcommand_exists(commandname) ) ) { + if ( !( commandinfo = atcommand->exists(commandname) ) ) { ShowConfigWarning(command, "atcommand_config_read: can not disable logging for non-existent command %s", commandname); continue; } @@ -10077,7 +10077,7 @@ void atcommand_config_read(const char* config_filename) { command = libconfig->setting_get_elem(help, i); commandname = config_setting_name(command); - if ( !( commandinfo = atcommand_exists(commandname) ) ) + if ( !( commandinfo = atcommand->exists(commandname) ) ) ShowConfigWarning(command, "atcommand_config_read: command %s does not exist", commandname); else { if( commandinfo->help == NULL ) { |