1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00

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.register_plugin('xep_0045')
xmpp.process(threaded=False)
xmpp.process()
while 1:
try:
# FIXME: find a way to trigger them
plugins.event_trigger()
time.sleep(delay)