summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 2645b55bb..fdd548913 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -9126,7 +9126,7 @@ void clif_parse_GMmessage(int fd, struct map_session_data *sd) {
if (pc_isGM(sd) < (lv=get_atcommand_level(AtCommand_Broadcast)))
return;
- size = WFIFOW(fd,2)-4;
+ size = RFIFOW(fd,2)-4;
mes = RFIFOP(fd,4);
mes_len_check(mes, size, CHAT_SIZE);