- Allow local opers to CLOSE connections. ()

This commit is contained in:
William Pitcock 2012-11-25 17:56:23 +00:00
parent ec09c447e5
commit f55d5f0b0f

View file

@ -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;