mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01:00
There is no more BasePlugin.
This commit is contained in:
parent
4200b4a4a7
commit
56e6fbd21c
@ -43,7 +43,6 @@ import privmsgs
|
|||||||
import ircutils
|
import ircutils
|
||||||
import callbacks
|
import callbacks
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
# ChannelEnforcer: Enforces capabilities on JOIN, MODE, KICK, etc.
|
# ChannelEnforcer: Enforces capabilities on JOIN, MODE, KICK, etc.
|
||||||
###
|
###
|
||||||
@ -184,7 +183,7 @@ class ChannelEnforcer(callbacks.Privmsg):
|
|||||||
if msg.prefix == self.chanserv:
|
if msg.prefix == self.chanserv:
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
return BasePlugin.__call__(self, irc, msg)
|
return callbacks.Privmsg.__call__(self, irc, msg)
|
||||||
|
|
||||||
|
|
||||||
Class = ChannelEnforcer
|
Class = ChannelEnforcer
|
||||||
|
Loading…
Reference in New Issue
Block a user