Mercurial > pidgin
diff libpurple/server.c @ 28412:6ef2cfa15ae7
Make sure the room name and the buddy who invited you are non-null
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Wed, 21 Oct 2009 22:24:34 +0000 |
| parents | a50e21712f1d |
| children | 43d5face5d9b |
line wrap: on
line diff
--- a/libpurple/server.c Wed Oct 21 22:23:53 2009 +0000 +++ b/libpurple/server.c Wed Oct 21 22:24:34 2009 +0000 @@ -786,6 +786,9 @@ struct chat_invite_data *cid; int plugin_return; + g_return_if_fail(name != NULL); + g_return_if_fail(who != NULL); + account = purple_connection_get_account(gc); if (!purple_privacy_check(account, who)) { purple_signal_emit(purple_conversations_get_handle(), "chat-invite-blocked",
