atheme-legacy / iris

web irc client for the atheme platform
Other
38 stars 22 forks source link

Atheme logout not working #2

Closed webratz closed 12 years ago

webratz commented 12 years ago

In the file qwebirc/engines/athemeengine.py in the logout function the paramaters that are passed to the XML-RPC API are swapped. Wrong:

result["output"] = self.do_xmlrpc(self.conn.atheme.logout, (user[0], token[0]))

Correct:

result["output"] = self.do_xmlrpc(self.conn.atheme.logout, (token[0], user[0]))

After i made these changes everything worked fine