Fixed bug in xor.

This commit is contained in:
Jeremy Fincher 2003-04-11 21:49:47 +00:00
parent c92386f7cf
commit 4c67a96b49
1 changed files with 1 additions and 1 deletions

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>"