summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/xmlstream.py
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/xmlstream/xmlstream.py')
-rw-r--r--sleekxmpp/xmlstream/xmlstream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py
index 4c3dd9fe..5fd7be9d 100644
--- a/sleekxmpp/xmlstream/xmlstream.py
+++ b/sleekxmpp/xmlstream/xmlstream.py
@@ -755,7 +755,7 @@ class XMLStream(object):
handler.prerun(stanza_copy)
self.event_queue.put(('stanza', handler, stanza_copy))
try:
- if handler.checkDelete():
+ if handler.check_delete():
self.__handlers.pop(self.__handlers.index(handler))
except:
pass # not thread safe