summaryrefslogtreecommitdiffstats
path: root/bridge/irc/handlers.go
Commit message (Collapse)AuthorAgeFilesLines
* Add scripting (tengo) support for every outgoing message (#806)Wim2019-04-191-5/+0
| | | | | | | | | | | | | | | | | | Adds a new key OutMessage under [tengo] table, which specifies the location of the script that will be invoked on each message being sent to a bridge and can be used to modify the Username and the Text of that message. The script will have the following global variables: read-only: inAccount, inProtocol, inChannel, inGateway outAccount, outProtocol, outChannel, outGateway read-write: msgText, msgUsername The script is reloaded on every message, so you can modify the script on the fly. The default script in https://github.com/42wim/matterbridge/tree/master/internal/tengo/outmessage.tengo is compiled in and will be executed if no script is specified.
* Add verbose IRC joins/parts (ident@host) (#805)chotaire2019-04-181-1/+6
| | | New configuration setting: VerboseJoinPart (default is false)
* Fix deadlock on reconnect (irc). Closes #757Wim2019-04-151-1/+4
|
* Revert fix for #722. Closes #781Wim2019-04-061-4/+0
| | | | | | | | | | | | | | Revert "Fix typo" This reverts commit dffd67eb311580aa2b14e7f5a069cfefdbf3aacc. Revert "Handle quit message relay better on gateways with one channel on the irc bridge #722" This reverts commit 240559581a225ff632c00a52e029b3728c61309e. Revert "Support quits from irc correctly. Fixes #722 (#724)" This reverts commit d76a04bd0a96772cec5b279aaa1ee45235adc707.
* Support quits from irc correctly. Fixes #722 (#724)Wim2019-02-171-0/+4
|
* Upgrade to latest girc version (irc) (#718)Wim2019-02-161-2/+2
|
* Move golangci-lint configuration to file (#635)Duco van Amstel2018-12-051-4/+1
|
* Refactor irc handlers. Fix linting (#611)Wim2018-11-281-0/+238