mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-29 06:22:24 +01:00
- Allow local opers to CLOSE connections. (#2486)
This commit is contained in:
parent
ec09c447e5
commit
f55d5f0b0f
1 changed files with 1 additions and 2 deletions
|
@ -89,8 +89,7 @@ DLLFUNC CMD_FUNC(m_close)
|
|||
int i;
|
||||
int closed = 0;
|
||||
|
||||
|
||||
if (!MyOper(sptr))
|
||||
if (!IsAnOper(sptr))
|
||||
{
|
||||
sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]);
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue