mcabber/src/hooks.c
changeset 603 9516db839e08
parent 591 5a685e9012b4
child 614 d3020b2c4da2
--- a/mcabber/src/hooks.c	Thu Dec 15 00:14:56 2005 +0100
+++ b/mcabber/src/hooks.c	Thu Dec 15 12:52:37 2005 +0100
@@ -67,7 +67,7 @@
   roster_usr = roster_find(jid, jidsearch, 0);
   if (!roster_usr) {
     new_guy = TRUE;
-    roster_usr = roster_add_user(jid, NULL, NULL, rtype);
+    roster_usr = roster_add_user(jid, NULL, NULL, rtype, sub_none);
     if (!roster_usr) { // Shouldn't happen...
       scr_LogPrint(LPRINT_LOGNORM, "ERROR: unable to add buddy!");
       if (bmsg) g_free(bmsg);