Created
July 9, 2009 11:24
-
-
Save bingos/143584 to your computer and use it in GitHub Desktop.
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
Netsplit detection for POE::Component::IRC::State | |
================================================= | |
- In S_quit detect if the user is leaving due to a netsplit | |
- There is a msg on the QUIT | |
- It matches "host.domain host2.domain2" or "*.net *.split" etc. | |
- Stash the state for that user + channel info in {NETSPLIT} | |
- In S_join detect if the user is joining as the result of netjoin | |
- Check the nick!user@host mask against what is in {NETSPLIT} | |
- if so restore state for that channel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment