pidgin/pidgin

Fix broken check in zephyr.

16 months ago, Elliott Sales de Andrade
9acdbd51e504
Parents af68597474ae
Children a8bdd1227991
Fix broken check in zephyr.
--- a/libpurple/protocols/zephyr/zephyr.c Sun Nov 10 04:19:45 2019 -0500
+++ b/libpurple/protocols/zephyr/zephyr.c Sun Nov 10 04:20:11 2019 -0500
@@ -2181,7 +2181,7 @@
notice.z_message = buf;
notice.z_opcode = g_strdup(opcode);
purple_debug_info("zephyr","About to send notice\n");
- if (! ZSendNotice(&notice, ZAUTH) == ZERR_NONE) {
+ if (ZSendNotice(&notice, ZAUTH) != ZERR_NONE) {
/* XXX handle errors here */
g_free(buf);
g_free(html_buf2);