From 4fcb38d69d1b61cc79b6b9af06918e5c228b242b Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 16 Aug 2009 09:57:14 -0600 Subject: Send GM flag to clients --- src/map/pc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index e0b4c89..7aec359 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -790,7 +790,10 @@ int pc_authok(int id, int login_id2, time_t connect_until_time, short tmw_versio pc_calcstatus(sd,1); if (pc_isGM(sd)) + { printf("Connection accepted: character '%s' (account: %d; GM level %d).\n", sd->status.name, sd->status.account_id, pc_isGM(sd)); + clif_updatestatus(sd, SP_GM); + } else printf("Connection accepted: Character '%s' (account: %d).\n", sd->status.name, sd->status.account_id); -- cgit v1.2.3-60-g2f50