summaryrefslogtreecommitdiff
path: root/src/map/log.c
diff options
context:
space:
mode:
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)