re-add event_trigger() calls; enable threading

This commit is contained in:
urlbot
2014-12-02 17:15:22 +01:00
parent 417e55e52b
commit 95473602e5

View File

@@ -302,11 +302,10 @@ if '__main__' == __name__:
xmpp.connect() xmpp.connect()
xmpp.register_plugin('xep_0045') xmpp.register_plugin('xep_0045')
xmpp.process(threaded=False) xmpp.process()
while 1: while 1:
try: try:
# FIXME: find a way to trigger them
plugins.event_trigger() plugins.event_trigger()
time.sleep(delay) time.sleep(delay)