mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 09:29:24 +01:00
Update supybot-newplugin to use the correct base class for plugins.
This commit is contained in:
parent
adff889c44
commit
b05834fb3b
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user