Typo.
authorCMDR furrycat <elite@furrycat.net>
Thu, 26 Oct 2017 09:46:00 +0000 (10:46 +0100)
committerCMDR furrycat <elite@furrycat.net>
Thu, 26 Oct 2017 09:46:00 +0000 (10:46 +0100)
plugin/announcements/announcements.py

index fe319c6..fa7f47d 100644 (file)
@@ -366,7 +366,7 @@ class Announcements(DBConnection):
       if announcement.interval:
         text += ' scheduled for {}'.format(bot.iso8601(offset + announcement.interval))
     if announcement.message_limit is not None:
-      text += ' reposted {}'.format('always' if announcement.message_limit == 0 else ' after {} message{}'.format(announcement.message_limit, 's' if announcement_message_limit > 1 else ''))
+      text += ' reposted {}'.format('always' if announcement.message_limit == 0 else ' after {} message{}'.format(announcement.message_limit, 's' if announcement.message_limit > 1 else ''))
     if announcement.asap == 'true':
       text += ' will be given ASAP'
     if announcement.probability < 0: