mirror of https://github.com/Mikaela/Limnoria.git
Fixed bug in xor.
This commit is contained in:
parent
c92386f7cf
commit
4c67a96b49
|
@ -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>"
|
||||
|
|
Loading…
Reference in New Issue