Cleanup how events are run, they are always direct by definition now
This commit is contained in:
@@ -77,7 +77,7 @@ class XEP_0077(BasePlugin):
|
||||
|
||||
if self.create_account and self.xmpp.event_handled('register'):
|
||||
form = self.get_registration()
|
||||
self.xmpp.event('register', form, direct=True)
|
||||
self.xmpp.event('register', form)
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user