Permalink
Browse files

Merge branch 'cvs' into no-presence

  • Loading branch information...
2 parents 681b28e + 63ef430 commit f8b0e9fabbc64540d16c42cf128d6f1fd7960dd0 @astro committed Mar 19, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/xep/muc-events.c
@@ -1,5 +1,5 @@
/*
- * $Id: muc-events.c,v 1.8 2008/12/08 10:06:50 cdidier Exp $
+ * $Id: muc-events.c,v 1.9 2009/03/19 11:32:44 cdidier Exp $
*
* Copyright (C) 2007 Colin DIDIER
*
@@ -475,7 +475,7 @@ sig_recv_message(XMPP_SERVER_REC *server, LmMessage *lmsg, const int type,
g_free(str);
}
node = lm_message_node_get_child(lmsg->node, "body");
- if (node != NULL && nick != NULL) {
+ if (node != NULL && node->value != NULL && nick != NULL) {
str = xmpp_recode_in(node->value);
own = strcmp(nick, channel->nick) == 0;
action = g_ascii_strncasecmp(str, "/me ", 4) == 0;

0 comments on commit f8b0e9f

Please sign in to comment.