-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mod_discord: Fix relaying of CTCP ACTION messages.
Fix broken parsing/generation of relayed CTCP ACTION messages from IRC. This likely worked at one point but broken when the IRC client/relay modules were overhauled. Now, the output is as expected again. Also fix a bug when multiple guilds are associated with the bot token in use, where after the first guild is processed, all remaining channel mappings are discarded. This is because the check to verify all mappings was done in the per-guild logic, but should only be done after all guilds have been processed, so this logic has been moved. In the case that there really are no mappings, we also unload the module at this point, since there would never be anything relayed so there is no point in continuing to run. Resolves: #31 LBBS-42 #close
- Loading branch information
1 parent
266a8c0
commit 9daa864
Showing
2 changed files
with
51 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters