this might fix that not parsing smileys at end of line (really smileys
butted up against a tag, e.g. ":-)")
But I didn't have time to test it. But at least it compiles.
/*
* Gaim buddy notification plugin.
*
* Copyright (C) 2000-2001, Eric Warmenhoven (original code)