summaryrefslogtreecommitdiff
path: root/src/map/log.c
diff options
context:
space:
mode:
authorLuzZza <LuzZza@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-21 18:37:35 +0000
committerLuzZza <LuzZza@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-21 18:37:35 +0000
commit0988a4623402706dced4808b565702135d7e963f (patch)
treeddb256d4a586e081b317538095ed7308695ee389 /src/map/log.c
parenta102b2dffb9365116701f99c0dcc486a74cbc073 (diff)
downloadhercules-0988a4623402706dced4808b565702135d7e963f.tar.gz
hercules-0988a4623402706dced4808b565702135d7e963f.tar.bz2
hercules-0988a4623402706dced4808b565702135d7e963f.tar.xz
hercules-0988a4623402706dced4808b565702135d7e963f.zip
- Fix to prevent using main chat when it disabled in atcommand_athena.
- Fixed message codes in duel functions. - Small fix in log_refine, incorrect compare expression. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5358 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/log.c')
-rw-r--r--src/map/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/log.c b/src/map/log.c
index 0879023fa..0fa09d9f0 100644
--- a/src/map/log.c
+++ b/src/map/log.c
@@ -357,7 +357,7 @@ int log_refine(struct map_session_data *sd, int n, int success)
item_level = sd->status.inventory[n].refine; //leaving there 0 wasn't informative! we have SUCCESS field anyways
else
item_level = sd->status.inventory[n].refine + 1;
- if(!should_log_item(log_config.refine,sd->status.inventory[n].nameid,1) || log_config.refine_items_log<item_level) return 0; //filter [Lupus]
+ if(!should_log_item(log_config.refine,sd->status.inventory[n].nameid,1) || log_config.refine_items_log>item_level) return 0; //filter [Lupus]
for(i=0;i<MAX_SLOTS;i++)
log_card[i] = sd->status.inventory[n].card[i];