mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-12 18:00:28 +00:00
Allow IRC ops to change channel modes even without OperServerMode set
This commit is contained in:
parent
acb66d6463
commit
01e40f4b55
@ -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,
|
return IRC_WriteStrClient(Origin, ERR_NOTONCHANNEL_MSG,
|
||||||
Client_ID(Origin), Channel_Name(Channel));
|
Client_ID(Origin), Channel_Name(Channel));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user