mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Fixed the failing RSS test, yay.
This commit is contained in:
parent
6c36941f7c
commit
fc72c88d99
@ -281,7 +281,8 @@ class RSS(callbacks.Privmsg):
|
|||||||
assert name == self._validFeedName(name)
|
assert name == self._validFeedName(name)
|
||||||
if url not in self.locks:
|
if url not in self.locks:
|
||||||
self.locks[url] = threading.RLock()
|
self.locks[url] = threading.RLock()
|
||||||
if hasattr(self.__class__, name):
|
if hasattr(self.__class__, name) and \
|
||||||
|
not hasattr(getattr(self, name), 'url'):
|
||||||
s = 'I already have a command in this plugin named %s.' % name
|
s = 'I already have a command in this plugin named %s.' % name
|
||||||
raise callbacks.Error, s
|
raise callbacks.Error, s
|
||||||
def f(self, irc, msg, args):
|
def f(self, irc, msg, args):
|
||||||
|
Loading…
Reference in New Issue
Block a user