diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-24 22:33:50 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-24 22:33:50 +0000 |
commit | 02ff54ba1d0b87b29f19c29524ba77a2f30a6d85 (patch) | |
tree | d2814fe7fef01907672f0b54543fc4494259c954 /src/map/clif.c | |
parent | 40fc1ff930002e0ca7301e0f2d575a40f784fb10 (diff) | |
download | hercules-02ff54ba1d0b87b29f19c29524ba77a2f30a6d85.tar.gz hercules-02ff54ba1d0b87b29f19c29524ba77a2f30a6d85.tar.bz2 hercules-02ff54ba1d0b87b29f19c29524ba77a2f30a6d85.tar.xz hercules-02ff54ba1d0b87b29f19c29524ba77a2f30a6d85.zip |
Added back log_chat's '1 - log everything' setting (revert from r10850).
Don't forget to adjust your config file ... again.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11289 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 5c3b62f23..e10a95d99 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -8517,7 +8517,7 @@ void clif_parse_GlobalMessage(int fd, struct map_session_data* sd) } // Chat logging type 'O' / Global Chat - if( log_config.chat&1 && !(agit_flag && log_config.chat&32) ) + if( log_config.chat&1 || (log_config.chat&2 && !(agit_flag && log_config.chat&64)) ) log_chat("O", 0, sd->status.char_id, sd->status.account_id, mapindex_id2name(sd->mapindex), sd->bl.x, sd->bl.y, NULL, message); return; @@ -8818,7 +8818,7 @@ void clif_parse_Wis(int fd, struct map_session_data* sd) target[NAME_LENGTH]='\0'; // Chat logging type 'W' / Whisper - if( log_config.chat&2 && !(agit_flag && log_config.chat&32) ) + if( log_config.chat&1 || (log_config.chat&4 && !(agit_flag && log_config.chat&64)) ) log_chat("W", 0, sd->status.char_id, sd->status.account_id, mapindex_id2name(sd->mapindex), sd->bl.x, sd->bl.y, target, msg); //-------------------------------------------------------// |