kiwiirc / kiwibnc

Apache License 2.0
43 stars 14 forks source link

Only allow c2ctags, msgid or TAGMSG when client has negotiated the message-tags cap #28

Closed DanielOaks closed 5 years ago

DanielOaks commented 5 years ago

This isn't the more extensive support to cover all tags (not just msgid and c2ctags) that we've discussed, but does help fix things for legacy clients for now. I'll push updates to this when the more extensive support is ready.

Previously, kiwibnc would always send c2ctags, the msgid tag, and TAGMSG messages to all clients, even if they don't support these. With this change, the msgid tag, c2ctags, and TAGMSG are appropriately restricted.