Skip to content

Commit

Permalink
tentatively switch m_whois to oper:spy_channel
Browse files Browse the repository at this point in the history
  • Loading branch information
jesopo committed Jun 10, 2022
1 parent 45761be commit fc9fa34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/m_whois.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ do_whois(struct Client *client_p, struct Client *source_p, int parc, const char
if((p = strchr(nick, ',')))
*p = '\0';

if(IsOperSpyUser(source_p) && *nick == '!')
if(IsOperSpyChannel(source_p) && *nick == '!')
{
operspy = 1;
nick++;
Expand Down

0 comments on commit fc9fa34

Please sign in to comment.