diff --git a/plugins/Topic/plugin.py b/plugins/Topic/plugin.py index ba80df9f0..6b936bd18 100644 --- a/plugins/Topic/plugin.py +++ b/plugins/Topic/plugin.py @@ -89,7 +89,7 @@ def getTopicNumber(irc, msg, args, state): try: topics[n] except IndexError: - error(str(n)) + error(args[0]) del args[0] while n < 0: n += len(topics)