Add error handler only once

fixes #240
This commit is contained in:
James Booth
2013-09-22 00:12:20 +01:00
parent 892a9953b4
commit d0c8ed462d
3 changed files with 1 additions and 2 deletions

View File

@@ -72,7 +72,6 @@ presence_add_handlers(void)
xmpp_conn_t * const conn = connection_get_conn();
xmpp_ctx_t * const ctx = connection_get_ctx();
HANDLE(NULL, STANZA_TYPE_ERROR, connection_error_handler);
HANDLE(STANZA_NS_MUC_USER, NULL, _room_presence_handler);
HANDLE(NULL, STANZA_TYPE_UNAVAILABLE, _unavailable_handler);
HANDLE(NULL, STANZA_TYPE_SUBSCRIBE, _subscribe_handler);