diff options
author | gumi <git@gumi.ca> | 2020-04-25 18:27:36 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2020-04-25 18:27:36 -0400 |
commit | 17221278d8a4fd2877c89aea93a76bdc2603357a (patch) | |
tree | 8f31d94fb38da9f43655a8f51081289b1651faa4 /src | |
parent | 1f2cdf0efd7543b50fcd6e04df495e82e860d6de (diff) | |
download | plugin-17221278d8a4fd2877c89aea93a76bdc2603357a.tar.gz plugin-17221278d8a4fd2877c89aea93a76bdc2603357a.tar.bz2 plugin-17221278d8a4fd2877c89aea93a76bdc2603357a.tar.xz plugin-17221278d8a4fd2877c89aea93a76bdc2603357a.zip |
fix a wrong bitwise operations that made everyone appear as GM
Diffstat (limited to 'src')
-rw-r--r-- | src/emap/map.c | 2 |
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 ++; |