mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
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
Block a user