diff options
| author | 2022-06-10 22:34:54 +0100 | |
|---|---|---|
| committer | 2022-06-10 22:34:54 +0100 | |
| commit | 7ddf90e9ed6e8147e93a01ba4ba8b44daf02d622 (patch) | |
| tree | e2ffd416ec8b4db40cdd79c9a69a95bec7737727 | |
| parent | update documentation (diff) | |
| download | solanum-jess/split-operspy.tar.gz solanum-jess/split-operspy.tar.bz2 solanum-jess/split-operspy.zip | |
Update modules/m_who.c jess/split-operspy
Co-authored-by: Doug Freed <dwfreed@mtu.edu>
| -rw-r--r-- | modules/m_who.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_who.c b/modules/m_who.c index 22bcce8f..9b2c1f26 100644 --- a/modules/m_who.c +++ b/modules/m_who.c @@ -172,7 +172,7 @@ m_who(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, } if(*mask == '!' - && HasPrivilege(source_p, IsChannelName(mask + 1) ? "oper:spy_channel" : "oper:spy_user")) + && (IsChannelName(mask + 1) ? IsOperSpyChannel(source_p) : IsOperSpyUser(source_p))) { mask++; operspy = 1; |
