Last active
December 26, 2015 08:09
-
-
Save TingPing/349fd2df248f40b4f036 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
import hexchat | |
__module_name__ = 'SASL workaround' | |
__module_author__ = 'TingPing' | |
__module_version__ = '0' | |
__module_description__ = 'Workaround for sasl on inspircd servers' | |
# This bug has been fixed already in git, but this will work on 2.9.6 | |
def auth_cb(word, word_eol, userdata): | |
if ',' in word[1]: | |
return hexchat.EAT_ALL | |
hexchat.hook_server('AUTHENTICATE', auth_cb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment