Fixed bug in xor.

This commit is contained in:
Jeremy Fincher 2003-04-11 21:49:47 +00:00
parent c92386f7cf
commit 4c67a96b49

View File

@ -197,7 +197,7 @@ class FunCommands(callbacks.Privmsg):
for c in text:
ret.append(chr(ord(c) ^ ord(password[i])))
i = (i + 1) % passwordlen
irc.reply(msg, repr(''.join(ret)))
irc.reply(msg, ''.join(ret))
def mimetype(self, irc, msg, args):
"<filename>"