Demo code (that is intentionally not pushed):
@hook("irc.signon")
def authWithQ(*args):
#XXX Security considerations: We do not know the server's authenticity
#... but still authenticate. Maybe switch to CHRAM-MD5 or similair
qauth = remember('quakenet authname')
qpwd = remember('quakenet authpwd')
dispatch_event('irc.sendmessage', 'Q@CServe.quakenet.org', 'AUTH %s %s' % (qauth, qpwd) )
Demo code (that is intentionally not pushed):
@hook("irc.signon")
def authWithQ(*args):
#XXX Security considerations: We do not know the server's authenticity
#... but still authenticate. Maybe switch to CHRAM-MD5 or similair
qauth = remember('quakenet authname')
qpwd = remember('quakenet authpwd')
dispatch_event('irc.sendmessage', 'Q@CServe.quakenet.org', 'AUTH %s %s' % (qauth, qpwd) )