aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/presence.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/jabber/presence.c')
-rw-r--r--protocols/jabber/presence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/jabber/presence.c b/protocols/jabber/presence.c
index 3bfc83ff..2c49b800 100644
--- a/protocols/jabber/presence.c
+++ b/protocols/jabber/presence.c
@@ -165,7 +165,7 @@ xt_status jabber_pkt_presence( struct xt_node *node, gpointer data )
if( send_presence )
{
- int is_away;
+ int is_away = 0;
if( send_presence->away_state && !( *send_presence->away_state->code == 0 ||
strcmp( send_presence->away_state->code, "chat" ) == 0 ) )