From 188b75e113480aa4237d77927e3f53993ac4992a Mon Sep 17 00:00:00 2001 From: dequis Date: Tue, 3 Jan 2017 00:32:37 -0300 Subject: oscar: fix checkdisallowed condition, which was breaking login. Accidentally broke it in d57484d (from last week) --- protocols/oscar/rxhandlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/oscar/rxhandlers.c b/protocols/oscar/rxhandlers.c index 0f1bb3d7..156563eb 100644 --- a/protocols/oscar/rxhandlers.c +++ b/protocols/oscar/rxhandlers.c @@ -235,7 +235,7 @@ int aim_conn_addhandler(aim_session_t *sess, aim_conn_t *conn, guint16 family, g struct aim_rxcblist_s *newcb; g_return_val_if_fail(conn, -1); - g_return_val_if_fail(checkdisallowed(family, type), -1); + g_return_val_if_fail(!checkdisallowed(family, type), -1); if (!(newcb = (struct aim_rxcblist_s *) g_new0(struct aim_rxcblist_s, 1))) { return -1; -- cgit v1.2.3