* Use `g_slist_find_custom` instead of manual search. `BonjourBuddy` doesn't have `NULL` data in `ips` list.
* Add `_find_match_buddies_by_address` to reduce copypaste.
* Change comparisons order to reduce nesting.
Testing Done:
Compile.
Reviewed at https://reviews.imfreedom.org/r/545/
/*
* Purple buddy notification plugin.
*
* Copyright (C) 2000-2001, Eric Warmenhoven (original code)