fix correction

This commit is contained in:
Luke Rogers 2013-10-08 11:32:17 +13:00
parent 05782766e9
commit b5a2497b00
1 changed files with 4 additions and 4 deletions

View File

@ -20,11 +20,11 @@ def correction(inp, message=None, input=None, notice=None, db=None):
message = last_message[1].replace("\x01ACTION ", "/me ").replace("\x01", "")
else:
message = last_message[1]
message("{} meant to say: {}".format(nick, message.replace(find, "\x02" + replace + "\x02")))
message(u"{} meant to say: {}".format(message.replace(find, "\x02" + replace + "\x02"), nick))
else:
notice("{} can't be found in your last message".format(find))
notice(u"{} can't be found in your last message".format(find))
else:
if nick == input.nick:
notice("I haven't seen you say anything here yet")
notice(u"I haven't seen you say anything here yet")
else:
notice("I haven't seen {} say anything here yet".format(nick))
notice(u"I haven't seen {} say anything here yet".format(nick))