summaryrefslogtreecommitdiff
path: root/src/emap/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/map.c')
-rw-r--r--src/emap/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/map.c b/src/emap/map.c
index ad5033e..1c60e8b 100644
--- a/src/emap/map.c
+++ b/src/emap/map.c
@@ -156,7 +156,7 @@ void emap_online_list(int fd)
if (pc_has_permission(sd, permission_send_gm_flag))
state |= BEINGFLAG_GM;
else
- state ^= BEINGFLAG_GM;
+ state &= ~BEINGFLAG_GM;
*ptr = state;
ptr ++;