summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-03-14 16:33:42 -0300
committershennetsind <ind@henn.et>2014-03-14 16:33:42 -0300
commit82e5f6d59d607f35283751c14587b944c702952f (patch)
tree6a0280aeeeef99428d442d8904ad4693f48a0abc /src/map
parent8e412fcc26499eda20530445d7bf8ae0e80c7d06 (diff)
downloadhercules-82e5f6d59d607f35283751c14587b944c702952f.tar.gz
hercules-82e5f6d59d607f35283751c14587b944c702952f.tar.bz2
hercules-82e5f6d59d607f35283751c14587b944c702952f.tar.xz
hercules-82e5f6d59d607f35283751c14587b944c702952f.zip
Fixed Bug 8078
gms relogging while char server is on char_server_type will no longer get rejected. Special Thanks to Beret. http://hercules.ws/board/tracker/issue-8078-maintenance-mode-enabled/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map')
-rw-r--r--src/map/chrif.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 059255fde..80ee50a20 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -694,13 +694,14 @@ bool chrif_charselectreq(struct map_session_data* sd, uint32 s_ip) {
chrif_check(false);
- WFIFOHEAD(chrif->fd,18);
+ WFIFOHEAD(chrif->fd,22);
WFIFOW(chrif->fd, 0) = 0x2b02;
WFIFOL(chrif->fd, 2) = sd->bl.id;
WFIFOL(chrif->fd, 6) = sd->login_id1;
WFIFOL(chrif->fd,10) = sd->login_id2;
WFIFOL(chrif->fd,14) = htonl(s_ip);
- WFIFOSET(chrif->fd,18);
+ WFIFOL(chrif->fd,18) = sd->group_id;
+ WFIFOSET(chrif->fd,22);
return true;
}