Fix the non-sudoer message for the final time

This commit is contained in:
Robert Miles 2018-07-21 08:17:02 -04:00
parent 1e5aca5d74
commit b37530c609
1 changed files with 1 additions and 1 deletions

2
bot.py
View File

@ -39,7 +39,7 @@ class AuditBot(teambot.Handler):
# say_log(repr(r))
else:
say_log("{} is auditing \"{}\" but is not a sudoer!".format(nick,log(self._bot.bot_nick,text)),"X")
self.conn.privmsg(target,"{}: you aren't a sudoer!".format(nick))
self.say(target,"{}: you aren't a sudoer!".format(nick))
if __name__=="__main__":
channels = "#sudoers".split()