Mercurial > pidgin
comparison src/conversation.c @ 102:8c301530b2a3
[gaim-migrate @ 112]
Whoops, forgot something. If an evil plugin leaves the outgoing message NULL,
NULL should not be displayed.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 09 Apr 2000 23:06:23 +0000 |
parents | a9aa982272f9 |
children | 15a09c1715ee |
comparison
equal
deleted
inserted
replaced
101:a9aa982272f9 | 102:8c301530b2a3 |
---|---|
383 if (g->event == event_im_send && g->function != NULL) { | 383 if (g->event == event_im_send && g->function != NULL) { |
384 function = g->function; | 384 function = g->function; |
385 (*function)(c->name, &buf, g->data); | 385 (*function)(c->name, &buf, g->data); |
386 } | 386 } |
387 ca = ca->next; | 387 ca = ca->next; |
388 } | |
389 if (buf == NULL) { | |
390 g_free(buf2); | |
391 return; | |
388 } | 392 } |
389 } | 393 } |
390 #endif | 394 #endif |
391 | 395 |
392 write_to_conv(c, buf, WFLAG_SEND); | 396 write_to_conv(c, buf, WFLAG_SEND); |