summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-09-29 10:58:31 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-09-29 11:21:08 -0700
commit7d3ae87894ed07e5eb98726db20b4304b8073e0e (patch)
treeb53c8d4bfcad126f63261a11fe01df875742074f
parent8a613a903e6e80dae63de488b7d39a8dc16dcc78 (diff)
downloadtmwa-7d3ae87894ed07e5eb98726db20b4304b8073e0e.tar.gz
tmwa-7d3ae87894ed07e5eb98726db20b4304b8073e0e.tar.bz2
tmwa-7d3ae87894ed07e5eb98726db20b4304b8073e0e.tar.xz
tmwa-7d3ae87894ed07e5eb98726db20b4304b8073e0e.zip
Remove logging of failed whispers
Even though ordinary whispers were never logged, there were still concerns about privacy.
-rw-r--r--src/map/intif.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/map/intif.cpp b/src/map/intif.cpp
index d22519b..a3865b2 100644
--- a/src/map/intif.cpp
+++ b/src/map/intif.cpp
@@ -59,8 +59,8 @@ void intif_wis_message(dumb_ptr<map_session_data> sd, CharName nick, ZString mes
WFIFOSET(char_fd, WFIFOW(char_fd, 2));
if (battle_config.etc_log)
- PRINTF("intif_wis_message from %s to %s (message: '%s')\n",
- sd->status.name, nick, mes);
+ PRINTF("intif_wis_message from %s to %s)\n",
+ sd->status.name, nick);
}
// The reply of Wisp/page
@@ -253,11 +253,10 @@ int intif_parse_WisMessage(int fd)
if (battle_config.etc_log)
{
- PRINTF("intif_parse_wismessage: id: %d, from: %s, to: %s, message: '%s'\n",
+ PRINTF("intif_parse_wismessage: id: %d, from: %s, to: %s\n",
RFIFOL(fd, 4),
from,
- to,
- buf);
+ to);
}
sd = map_nick2sd(to); // Searching destination player
if (sd != NULL && sd->status.name == to)