Mercurial > hg
diff mcabber/src/hooks.c @ 483:4a10c04ac2fb
Fix a bug in roster_find()
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Wed, 05 Oct 2005 21:46:13 +0200 |
parents | b82428ac107d |
children | 00e2d3821a5b |
line wrap: on
line diff
--- a/mcabber/src/hooks.c Wed Oct 05 19:30:35 2005 +0200 +++ b/mcabber/src/hooks.c Wed Oct 05 21:46:13 2005 +0200 @@ -57,8 +57,7 @@ } // If this user isn't in the roster, we add it - roster_usr = roster_find(jid, jidsearch, - rtype|ROSTER_TYPE_AGENT|ROSTER_TYPE_ROOM); + roster_usr = roster_find(jid, jidsearch, 0); if (!roster_usr) { new_guy = TRUE; roster_usr = roster_add_user(jid, NULL, NULL, rtype);