diff --git a/__init__.py b/__init__.py index e33a1b18a..745ed67ad 100644 --- a/__init__.py +++ b/__init__.py @@ -40,11 +40,4 @@ othersDir = os.path.join(installDir, 'others') sys.path.insert(0, srcDir) sys.path.insert(0, othersDir) -import registry - -supybot = registry.Group() -supybot.setName('supybot') -supybot.registerGroup('plugins') - - # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: diff --git a/src/conf.py b/src/conf.py index 38a40abd2..c3eaba90e 100644 --- a/src/conf.py +++ b/src/conf.py @@ -55,7 +55,6 @@ allowEval = False supybot = registry.Group() supybot.setName('supybot') -supybot.registerGroup('plugins') # This will be used by plugins, but not here. def registerPlugin(name, currentValue=None): supybot.plugins.registerGroup( @@ -408,6 +407,8 @@ you to integrate with asyncore-based applications. twistedDrivers is very stable and simple, and if you've got Twisted installed, is probably your best bet.""")) +supybot.registerGroup('plugins') # This will be used by plugins, but not here. + ############################### ############################### ###############################