mcabber/src/hooks.c
changeset 1355 9716cf8a0726
parent 1352 61a54e172010
child 1357 7bbfb0073f88
--- a/mcabber/src/hooks.c	Sat Nov 10 23:15:05 2007 +0100
+++ b/mcabber/src/hooks.c	Sat Nov 10 23:15:16 2007 +0100
@@ -88,7 +88,7 @@
   roster_usr = roster_find(bjid, jidsearch, 0);
   if (!roster_usr) {
     new_guy = TRUE;
-    roster_usr = roster_add_user(bjid, NULL, NULL, rtype, sub_none);
+    roster_usr = roster_add_user(bjid, NULL, NULL, rtype, sub_none, -1);
     if (!roster_usr) { // Shouldn't happen...
       scr_LogPrint(LPRINT_LOGNORM, "ERROR: unable to add buddy!");
       g_free(bmsg);