Updated for the registry._cache change.

This commit is contained in:
Jeremy Fincher 2004-01-20 12:09:54 +00:00
parent 17804c91a4
commit 81a40ee782

View File

@ -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('.')