mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +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:
|
for c in text:
|
||||||
ret.append(chr(ord(c) ^ ord(password[i])))
|
ret.append(chr(ord(c) ^ ord(password[i])))
|
||||||
i = (i + 1) % passwordlen
|
i = (i + 1) % passwordlen
|
||||||
irc.reply(msg, repr(''.join(ret)))
|
irc.reply(msg, ''.join(ret))
|
||||||
|
|
||||||
def mimetype(self, irc, msg, args):
|
def mimetype(self, irc, msg, args):
|
||||||
"<filename>"
|
"<filename>"
|
||||||
|
Loading…
Reference in New Issue
Block a user