diff options
author | Marius Halden <marius.h@lden.org> | 2016-09-29 18:39:01 +0200 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2016-09-29 18:39:01 +0200 |
commit | f943e4396558e11191c38517785c1fc5ad770a23 (patch) | |
tree | 51f94129b8a01694854779b0d7ee2efc6bd48ed7 /protocols | |
parent | 74046d6eafd13aacf6c564d83de6560a8afbf4c2 (diff) | |
parent | ff468a7ad739bbde90000de3f9019833eba89012 (diff) |
Merge branch 'master' into patched-master
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/nogaim.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/nogaim.c b/protocols/nogaim.c index c742a64d..ece2e166 100644 --- a/protocols/nogaim.c +++ b/protocols/nogaim.c @@ -715,6 +715,9 @@ int imc_away_send_update(struct im_connection *ic) : set_getstr(&ic->bee->set, "away"); if (away && *away) { GList *m = ic->acc->prpl->away_states(ic); + if (m == NULL) { + return 0; + } msg = ic->acc->flags & ACC_FLAG_AWAY_MESSAGE ? away : NULL; away = imc_away_state_find(m, away, &msg) ? : (imc_away_state_find(m, "away", &msg) ? : m->data); |