matterbridge/bridge/irc
patrickxia 0bb521512a
Do not bridge CTCP commands other than ACTION (irc) ()
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) () 2022-03-19 23:14:56 +01:00
handlers.go Do not bridge CTCP commands other than ACTION (irc) () 2024-05-24 00:05:55 +02:00
irc.go Fix panic in irc. Closes () 2022-03-12 17:33:39 +01:00