summaryrefslogtreecommitdiff
path: root/src/map/log.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-24 22:33:50 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-24 22:33:50 +0000
commit02ff54ba1d0b87b29f19c29524ba77a2f30a6d85 (patch)
treed2814fe7fef01907672f0b54543fc4494259c954 /src/map/log.c
parent40fc1ff930002e0ca7301e0f2d575a40f784fb10 (diff)
downloadhercules-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/log.c')
-rw-r--r--src/map/log.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/map/log.c b/src/map/log.c
index 40225e7b7..5c061b90f 100644
--- a/src/map/log.c
+++ b/src/map/log.c
@@ -362,19 +362,18 @@ int log_npc(struct map_session_data* sd, const char* message)
int log_chat(const char* type, int type_id, int src_charid, int src_accid, const char* map, int x, int y, const char* dst_charname, const char* message)
{
- //FIXME: the actual filtering is being done by the calling code instead of in here, why!?
-
// Log CHAT (Global, Whisper, Party, Guild, Main chat)
// LOGGING FILTERS [Lupus]
- //=============================================================
- //00 = Don't log at all
- //Advanced Filter Bits: ||
- //01 - Log Global messages
- //02 - Log Whisper messages
- //04 - Log Party messages
- //08 - Log Guild messages
- //16 - Log Main chat messages
- //32 - Don't log anything when WOE is on
+ // =============================================================
+ // 0 = Don't log at all
+ // 1 = Log EVERYTHING!
+ // Advanced Filter Bits: ||
+ // 02 - Log Global messages
+ // 04 - Log Whisper messages
+ // 08 - Log Party messages
+ // 16 - Log Guild messages
+ // 32 - Log Main chat messages
+ // 64 - Don't log anything when WOE is on
//Check ON/OFF
if(log_config.chat <= 0)