Skip to content

Instantly share code, notes, and snippets.

@TingPing
Last active December 26, 2015 08:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TingPing/349fd2df248f40b4f036 to your computer and use it in GitHub Desktop.
Save TingPing/349fd2df248f40b4f036 to your computer and use it in GitHub Desktop.
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