From 35065b8fc5cf758bae6abf9b55bca6d0ce66f7d6 Mon Sep 17 00:00:00 2001 From: James Vega Date: Mon, 13 Jun 2005 17:13:04 +0000 Subject: [PATCH] plugins/Topic: Remove an unnecessary call to irc.state.getTopic. --- plugins/Topic/plugin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/Topic/plugin.py b/plugins/Topic/plugin.py index 9ddc85d27..0f8f1ebb2 100644 --- a/plugins/Topic/plugin.py +++ b/plugins/Topic/plugin.py @@ -235,7 +235,6 @@ class Topic(callbacks.Plugin): Shuffles the topics in . is only necessary if the message isn't sent in the channel itself. """ - newtopic = irc.state.getTopic(channel) topics = self._splitTopic(irc.state.getTopic(channel), channel) if len(topics) == 0 or len(topics) == 1: irc.error('I can\'t shuffle 1 or fewer topics.', Raise=True)