From 8590bc213416a295120d2f33c46d3ef3ed86e68a Mon Sep 17 00:00:00 2001 From: James Vega Date: Wed, 25 Feb 2004 15:46:22 +0000 Subject: [PATCH] weatherCommand -> command --- plugins/Weather.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Weather.py b/plugins/Weather.py index 689c21d6b..0da59e88e 100644 --- a/plugins/Weather.py +++ b/plugins/Weather.py @@ -87,7 +87,7 @@ class Weather(callbacks.Privmsg): channel = None if ircutils.isChannel(msg.args[0]): channel = msg.args[0] - realCommandName = self.registryValue('weatherCommand', channel) + realCommandName = self.registryValue('command', channel) realCommand = getattr(self, realCommandName) realCommand(irc, msg, args) @@ -314,7 +314,7 @@ conf.registerPlugin('Weather') conf.registerChannelValue(conf.supybot.plugins.Weather, 'temperatureUnit', WeatherUnit('Fahrenheit', """Sets the default temperature unit to use when reporting the weather.""")) -conf.registerChannelValue(conf.supybot.plugins.Weather, 'weatherCommand', +conf.registerChannelValue(conf.supybot.plugins.Weather, 'command', WeatherCommand('cnn', """Sets the default command to use when retrieving the weather."""))