aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2017-01-03 00:32:37 -0300
committerdequis <dx@dxzone.com.ar>2017-01-03 00:32:37 -0300
commit188b75e113480aa4237d77927e3f53993ac4992a (patch)
treeb485a9884d74fcfcd86543e1f549bf381d6455e1
parent2e8523b30bafa86685655001457a2615936b646a (diff)
oscar: fix checkdisallowed condition, which was breaking login.
Accidentally broke it in d57484d (from last week)
-rw-r--r--protocols/oscar/rxhandlers.c2
1 files changed, 1 insertions, 1 deletions
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;