summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-12 22:03:55 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-12 22:03:55 +0000
commit95c694908ba1c7636e28f93f181e23927c5f8c5f (patch)
tree967a55440af012af201677330b53c8d26c51a1ca /src/map
parent04866a6fc13775319e7af9bfa1af592742a08d07 (diff)
downloadhercules-95c694908ba1c7636e28f93f181e23927c5f8c5f.tar.gz
hercules-95c694908ba1c7636e28f93f181e23927c5f8c5f.tar.bz2
hercules-95c694908ba1c7636e28f93f181e23927c5f8c5f.tar.xz
hercules-95c694908ba1c7636e28f93f181e23927c5f8c5f.zip
Fixed clif_parse_GMmessage cutting off messages randomly (typo in r9778)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9856 54d463be-8e91-2dee-dedb-b68131a5f0ec
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);