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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user