5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-12-26 08:35:44 +00:00
matterbridge/bridge/irc
patrickxia 0bb521512a
Do not bridge CTCP commands other than ACTION (irc) (#2090)
CTCP commands other than ACTION are designed for client-to-client interaction on
IRC networks. Drop such messages when we receive them.

Also get rid of a "CTCP_ACTION" handler in the handler registration.

This

1) can't do anything (if anything, we wanted the string constant
   girc.CTCP_ACTION, which is "ACTION")
2) doesn't do anything in this context, because CTCP handlers are
   registered separately:
   f47717952b/ctcp.go (L205)

The PRIVMSG handler already listens to all CTCPs.

Thanks to @lexande for the bug report (found on a live instance).
2024-05-24 00:05:55 +02:00
..
charset.go Refactor utf-8 conversion (irc) (#1767) 2022-03-19 23:14:56 +01:00
handlers.go Do not bridge CTCP commands other than ACTION (irc) (#2090) 2024-05-24 00:05:55 +02:00
irc.go Fix panic in irc. Closes #1751 (#1760) 2022-03-12 17:33:39 +01:00