mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-04 18:29:21 +01:00
Updated for the registry._cache change.
This commit is contained in:
parent
17804c91a4
commit
81a40ee782
@ -109,7 +109,7 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
'capabilities': 'User',
|
'capabilities': 'User',
|
||||||
'addcapability': 'Admin',
|
'addcapability': 'Admin',
|
||||||
'removecapability': 'Admin'}
|
'removecapability': 'Admin'}
|
||||||
for (name, s) in registry.cache.iteritems():
|
for (name, s) in registry._cache.iteritems():
|
||||||
if name.startswith('supybot.plugins'):
|
if name.startswith('supybot.plugins'):
|
||||||
try:
|
try:
|
||||||
(_, _, name) = name.split('.')
|
(_, _, name) = name.split('.')
|
||||||
|
Loading…
Reference in New Issue
Block a user