mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-29 06:16:43 +02:00
52297e24b6
They were already ignored in MODE by remote UnrealIRCd servers, but this makes it so local modes (+Z and +d at the moment) are not sent across the wire. This also changes the channel_modes() function to have an additional 'hide_local_modes' argument. Set this to 1 if you are building a buffer that will be sent to remote servers, otherwise use 0, which is far more common. Also, this will skip saving of local channel modes to channeldb since all of these are temporary, or at the moment anyway. Thanks to alice for reporting this bug and providing a good test case to help fix this issue and the previous ones.