From 60bbbc63ab66ff3355bac20edd300a7a376ad112 Mon Sep 17 00:00:00 2001 From: Daniel Folkinshteyn Date: Tue, 25 Jan 2011 01:26:42 -0500 Subject: [PATCH] Topic: get shouldn't require capabilities, since it's a read-only operation. --- plugins/Topic/plugin.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/Topic/plugin.py b/plugins/Topic/plugin.py index 66256493a..0e2d299f0 100644 --- a/plugins/Topic/plugin.py +++ b/plugins/Topic/plugin.py @@ -403,9 +403,6 @@ class Topic(callbacks.Plugin): index into the topics. is only necessary if the message isn't sent in the channel itself. """ - if not self._checkManageCapabilities(irc, msg, channel): - capabilities = self.registryValue('requireManageCapability') - irc.errorNoCapability(capabilities, Raise=True) topics = self._splitTopic(irc.state.getTopic(channel), channel) irc.reply(topics[number]) get = wrap(get, ['inChannel', 'topicNumber'])