Case insensitive.

This commit is contained in:
Stéphan Kochen 2004-01-16 23:37:37 +00:00
parent dddf1d2a08
commit 7c9675269d

View File

@ -107,7 +107,7 @@ class RSS(callbacks.Privmsg, configurable.Mixin):
bold = self.configurables.get('announce-news-bold', channel) bold = self.configurables.get('announce-news-bold', channel)
prefix = self.configurables.get('announce-news-prefix', channel) prefix = self.configurables.get('announce-news-prefix', channel)
for name in d: for name in d:
if self.isCommand(name): if self.isCommand(callbacks.canonicalName(name)):
url = self.getCommand(name).url url = self.getCommand(name).url
else: else:
url = name url = name