summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-20 09:05:23 -0300
committershennetsind <ind@henn.et>2013-06-20 09:05:23 -0300
commitd9a194304a99dce95147537900f7c39436e24cc9 (patch)
tree0bcddecb1e6f04eb4596f6a48d5c8d240d89f355 /src/map
parent594e30964ea4421654fd636e35b046aabd4df9ac (diff)
downloadhercules-d9a194304a99dce95147537900f7c39436e24cc9.tar.gz
hercules-d9a194304a99dce95147537900f7c39436e24cc9.tar.bz2
hercules-d9a194304a99dce95147537900f7c39436e24cc9.tar.xz
hercules-d9a194304a99dce95147537900f7c39436e24cc9.zip
Follow up 8568f179f5cefa638d564b75119235bac4b9a3b3
Signed-off-by: shennetsind <ind@henn.et>
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 840aad1f4..82b0601a8 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -5970,7 +5970,7 @@ void clif_wis_message(int fd, const char* nick, const char* mes, int mes_len)
WFIFOW(fd,0) = 0x97;
WFIFOW(fd,2) = mes_len + NAME_LENGTH + 8;
safestrncpy((char*)WFIFOP(fd,4), nick, NAME_LENGTH);
- WFIFOL(fd,28) = (pc->get_group_level(ssd) == 99) ? 1 : 0; // isAdmin; if nonzero, also displays text above char
+ WFIFOL(fd,28) = (ssd && pc->get_group_level(ssd) == 99) ? 1 : 0; // isAdmin; if nonzero, also displays text above char
safestrncpy((char*)WFIFOP(fd,32), mes, mes_len);
WFIFOSET(fd,WFIFOW(fd,2));
#endif