This commit is contained in:
0xd3d0c3d 2022-08-24 04:07:26 -05:00
parent 2fbf002ee3
commit 0bd543b7de

@ -21,6 +21,7 @@ class Plugin:
self.mode="dupe"
self.mode=""
self.enforcing=False
self.token=012345678901234567
return
self.color=""
if self.mode=="core": self.color="\x0304"
@ -122,7 +123,7 @@ class Plugin:
if kw['event']=='JOIN':
self.bot.privmsg("maple",f"joined {target}".lower())
if target!=self.home:
if enforcing:
if self.enforcing:
reason=".[d]."
self.bot.part(target,reason)
self.bot.privmsg("maple",f"parted {target} - {reason}".lower())