mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-07 19:49:23 +01:00
registryValue was missing a little self loving
This commit is contained in:
parent
0cd95c63d5
commit
c3173fe4b4
@ -743,7 +743,7 @@ class Privmsg(irclib.IrcCallback):
|
|||||||
elapsed = time.time() - start
|
elapsed = time.time() - start
|
||||||
self.log.info('%s took %s seconds', name, elapsed)
|
self.log.info('%s took %s seconds', name, elapsed)
|
||||||
|
|
||||||
def registryValue(name, channel=None):
|
def registryValue(self, name, channel=None):
|
||||||
plugin = self.name()
|
plugin = self.name()
|
||||||
if channel is None:
|
if channel is None:
|
||||||
return conf.supybot.plugins.get(plugin).get(name)()
|
return conf.supybot.plugins.get(plugin).get(name)()
|
||||||
|
Loading…
Reference in New Issue
Block a user