diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2009-08-12 01:02:51 +0800 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2009-08-19 01:03:39 +0800 |
commit | 77363aa431aaa9a2938bf547500a3c2ce2cd17c2 (patch) | |
tree | 840df2607262eca25a5e9f6c148bcc92ccd9d899 /libempathy-gtk/empathy-account-widget-irc.c | |
parent | f0a0befc9453c490d9db7c820708b49481c30f96 (diff) | |
download | gsoc2013-empathy-77363aa431aaa9a2938bf547500a3c2ce2cd17c2.tar gsoc2013-empathy-77363aa431aaa9a2938bf547500a3c2ce2cd17c2.tar.gz gsoc2013-empathy-77363aa431aaa9a2938bf547500a3c2ce2cd17c2.tar.bz2 gsoc2013-empathy-77363aa431aaa9a2938bf547500a3c2ce2cd17c2.tar.lz gsoc2013-empathy-77363aa431aaa9a2938bf547500a3c2ce2cd17c2.tar.xz gsoc2013-empathy-77363aa431aaa9a2938bf547500a3c2ce2cd17c2.tar.zst gsoc2013-empathy-77363aa431aaa9a2938bf547500a3c2ce2cd17c2.zip |
Don't assume that 'subscribe' exists.
This fixes bug #591468, which is a crash when you open a tab to a
contact from the user list in an IRC channel. Idle doesn't have a
'subscribe' list, so priv->subscribe is NULL, so this crashed. But if
you don't have a subscribe list, obviously you can't add the contact to
subscribe, so we can just guard this appropriately.
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Diffstat (limited to 'libempathy-gtk/empathy-account-widget-irc.c')
0 files changed, 0 insertions, 0 deletions