Mercurial > pidgin.yaz
diff plugins/gaiminc.c @ 99:f810fc7d423f
[gaim-migrate @ 109]
Autorecon reconnects you on signoff (kick). Made other small changes.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 09 Apr 2000 20:29:25 +0000 |
parents | 247f540ea6e1 |
children | ece2d1543b20 |
line wrap: on
line diff
--- a/plugins/gaiminc.c Sun Apr 09 20:16:40 2000 +0000 +++ b/plugins/gaiminc.c Sun Apr 09 20:29:25 2000 +0000 @@ -17,6 +17,11 @@ * the text of the message (HTML and all) will be reversed. */ int i, l; char tmp; + + /* this check is necessary in case bad plugins do bad things */ + if (message == NULL || *message == NULL) + return; + l = strlen(*message); if (!strcmp(*who, current_user->username))