mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
registerPlugin was returning the wrong group.
This commit is contained in:
parent
8f97cccb1a
commit
dda6f9be4a
@ -107,7 +107,8 @@ def registerPlugin(name, currentValue=None, public=True):
|
||||
publicly visible."""))
|
||||
if currentValue is not None:
|
||||
supybot.plugins.get(name).setValue(currentValue)
|
||||
return registerGroup(users.plugins, name)
|
||||
registerGroup(users.plugins, name)
|
||||
return group
|
||||
|
||||
def get(group, channel=None):
|
||||
if channel is None or not group.channelValue:
|
||||
|
Loading…
Reference in New Issue
Block a user