Cleanup how events are run, they are always direct by definition now

This commit is contained in:
Florent Le Coz
2014-07-23 17:01:17 +02:00
parent 5611b30022
commit 74117453b5
7 changed files with 41 additions and 75 deletions
+1 -1
View File
@@ -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