Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This kind of reverts/fixes f1cb09b. Robby found a bug with evil ChanServ which goes like this: - You join an empty, but registered channel and the IRCd applies its default modes (+nt), but ZNC didn't ask for MODE, so doesn't know this. - ChanServ applies whatever channel modes it wants to apply. This causes ZNC to see a mode change (e.g. +s). The result of this is that ZNC thinks that the channel has mode +s and it will tell every client that connects to it about this. The fix is to send a MODE request when JOINing. To make sure that we don't confuse clients, we block the reply. Signed-off-by: Uli Schlachter <psychon@znc.in>
- Loading branch information
Showing
3 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters