From 462883b7cb02a2f229d0c53afd179163725d50de Mon Sep 17 00:00:00 2001 From: ultramage Date: Sat, 17 Nov 2007 20:51:25 +0000 Subject: Removed battle_config.error_log as console_silent already handles this git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11751 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/guild.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/map/guild.c') diff --git a/src/map/guild.c b/src/map/guild.c index 84cbe137d..6193ed69b 100644 --- a/src/map/guild.c +++ b/src/map/guild.c @@ -511,8 +511,7 @@ int guild_check_member(struct guild *g) sd->status.guild_id=0; sd->state.guild_sent=0; sd->guild_emblem_id=0; - if(battle_config.error_log) - ShowWarning("guild: check_member %d[%s] is not member\n",sd->status.account_id,sd->status.name); + ShowWarning("guild: check_member %d[%s] is not member\n",sd->status.account_id,sd->status.name); } } } @@ -568,8 +567,7 @@ int guild_recv_info(struct guild *sg) if(g->max_member > MAX_GUILD) { - if (battle_config.error_log) - ShowError("guild_recv_info: Received guild with %d members, but MAX_GUILD is only %d. Extra guild-members have been lost!\n", g->max_member, MAX_GUILD); + ShowError("guild_recv_info: Received guild with %d members, but MAX_GUILD is only %d. Extra guild-members have been lost!\n", g->max_member, MAX_GUILD); g->max_member = MAX_GUILD; } @@ -748,8 +746,7 @@ int guild_member_added(int guild_id,int account_id,int char_id,int flag) if(sd==NULL || sd->guild_invite==0){ // キャラ側に登録できなかったため脱退要求を出す if (flag == 0) { - if(battle_config.error_log) - ShowError("guild: member added error %d is not online\n",account_id); + ShowError("guild: member added error %d is not online\n",account_id); intif_guild_leave(guild_id,account_id,char_id,0,"**登録失敗**"); } return 0; @@ -959,8 +956,7 @@ int guild_recv_memberinfoshort(int guild_id,int account_id,int char_id,int onlin sd->guild_emblem_id=0; sd->state.guild_sent=0; } - if(battle_config.error_log) - ShowWarning("guild: not found member %d,%d on %d[%s]\n", account_id,char_id,guild_id,g->name); + ShowWarning("guild: not found member %d,%d on %d[%s]\n", account_id,char_id,guild_id,g->name); return 0; } -- cgit v1.2.3-60-g2f50