Update supybot-newplugin to use the correct base class for plugins.

This commit is contained in:
James Vega 2005-02-09 13:37:10 +00:00
parent adff889c44
commit b05834fb3b

View File

@ -260,9 +260,9 @@ def main():
else:
threaded = 'pass'
if kind == 'command':
className = 'callbacks.Privmsg'
className = 'callbacks.Plugin'
else:
className = 'callbacks.PrivmsgRegexp'
className = 'callbacks.PluginRegexp'
if name.endswith('.py'):
name = name[:-3]
while name[0].islower():