From cfd535c7f5b442ae3d96a192a2dbe8650cae99af Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 9 Nov 2014 15:26:00 +0300 Subject: Fix interfaces methods usage. In some places was used direct methods. --- src/map/atcommand.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/atcommand.c') 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 ) { -- cgit v1.2.3-70-g09d2