diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-01-08 00:24:35 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-01-08 00:24:35 +0000 |
commit | b0a605c97340b7248ab7902e5e17a2794449bc2d (patch) | |
tree | 78ed87ce9ed8d16b884410ddd6057a1b229d41b4 /src/map | |
parent | e236c8d166bd55c674d3380c8c96d53031a4ede5 (diff) | |
download | hercules-b0a605c97340b7248ab7902e5e17a2794449bc2d.tar.gz hercules-b0a605c97340b7248ab7902e5e17a2794449bc2d.tar.bz2 hercules-b0a605c97340b7248ab7902e5e17a2794449bc2d.tar.xz hercules-b0a605c97340b7248ab7902e5e17a2794449bc2d.zip |
Added missing code to log main chat messages sent by whispering to main_chat_nick (bugreport:424)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12030 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/clif.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 70da31b53..bb1b6f964 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -8455,6 +8455,11 @@ void clif_parse_WisMessage(int fd, struct map_session_data* sd) snprintf(output, ARRAYLENGTH(output), msg_txt(386), sd->status.name, message); intif_announce(output, strlen(output) + 1, 0xFE000000, 0); } + + // Chat logging type 'M' / Main Chat + if( log_config.chat&1 || (log_config.chat&32 && !(agit_flag && log_config.chat&64)) ) + log_chat("M", 0, sd->status.char_id, sd->status.account_id, mapindex_id2name(sd->mapindex), sd->bl.x, sd->bl.y, NULL, message); + return; } |