mirror of
https://github.com/osmarks/ngircd.git
synced 2025-10-18 08:07:39 +00:00
Allow IRC ops to change channel modes even without OperServerMode set
This commit is contained in:
@@ -330,7 +330,7 @@ Channel_Mode(CLIENT *Client, REQUEST *Req, CLIENT *Origin, CHANNEL *Channel)
|
||||
}
|
||||
}
|
||||
|
||||
if (!onchannel && !use_servermode)
|
||||
if (!onchannel && !modeok)
|
||||
return IRC_WriteStrClient(Origin, ERR_NOTONCHANNEL_MSG,
|
||||
Client_ID(Origin), Channel_Name(Channel));
|
||||
}
|
||||
|
Reference in New Issue
Block a user