added a way to prevent bitbot accepting invites
This commit is contained in:
parent
e99671aced
commit
6213ba5f61
1 changed files with 2 additions and 1 deletions
|
@ -6,4 +6,5 @@ class Module(object):
|
|||
self.on_invite)
|
||||
|
||||
def on_invite(self, event):
|
||||
if event["server"].get_setting("accept-invites", True):
|
||||
event["server"].send_join(event["target_channel"])
|
||||
|
|
Loading…
Reference in a new issue