-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mod_irc_client: Fix IRC relay loops.
Usage of msg_relay has been buggy for some time now. Not relaying to enough places would cause some places to miss messages, while relaying everywhere would loop messages around improperly. This is now fixed by not relaying messages back to the relay module that sent the message; some APIs have been expanded to accomodate this information. Now, all messages should be relayed from all possible messages sources to all places that messages should be relayed, without resulting in more messages than there should be. The irc_relay_message structure is technically not needed, since rmsg->sendingmod is not currently used, but this cleans up that API to allow for future expansion, if needed, in a cleaner way. Other IRC-related fixes and improvements: * mod_irc_client: Auto prefix IRC username if needed. * net_irc: Don't break early for NAMES replies. * door_irc: Add basic help command. * mod_discord: Fix not loading user roles properly. * mod_discord: Add CLI commands to dump a channel or user.
- Loading branch information
1 parent
8ab0f7a
commit f3b440e
Showing
9 changed files
with
232 additions
and
50 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
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
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
Oops, something went wrong.