Mercurial > pidgin
diff src/conversation.c @ 125:bfe26481cff5
[gaim-migrate @ 135]
Segfault if not in buddy list. Nice to be able to talk to strangers :P
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sun, 16 Apr 2000 02:49:09 +0000 |
| parents | 15a09c1715ee |
| children | 96f7f937eb4b |
line wrap: on
line diff
--- a/src/conversation.c Sun Apr 16 02:01:48 2000 +0000 +++ b/src/conversation.c Sun Apr 16 02:49:09 2000 +0000 @@ -735,7 +735,7 @@ if (flags & WFLAG_RECV) { strcpy(colour, "#ff0000"); b = find_buddy(c->name); - if (b->uc & UC_UNAVAILABLE) { + if (b && (b->uc & UC_UNAVAILABLE)) { who = malloc(strlen(c->name) + 24); sprintf(who, "Auto-response from %s", c->name); } else
