5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-01-27 03:34:38 +00:00
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
..
2021-12-18 22:43:29 +01:00
2024-05-24 00:03:29 +02:00
2024-05-23 23:57:30 +02:00
2019-09-07 22:46:58 +02:00