The current logout definition does not work correctly with a reason of more than 1 word.
It needs a ':' as a delimiter between the command and reason.
Code snippet of correction :
def logout(self, reason): self.servercmd("QUIT :%s" % (reason))
Log in to post a comment.