Convert new_user_func_t to return void.
[srvx.git] / src / proto-bahamut.c
index e7f0b2bece917659e58f79c26ac52b7524a63996..eae05c6f7398e884c3813c61c008c76cfacd4de2 100644 (file)
@@ -168,9 +168,8 @@ AddUser(struct server* uplink, const char *nick, const char *ident, const char *
     if (dummy) uNode->modes |= FLAGS_DUMMY;
     if (stamp) call_account_func(uNode, NULL, 0, stamp);
     if (IsLocal(uNode)) irc_user(uNode);
-    for (nn=0; (nn<nuf_used) && !uNode->dead; nn++) {
-        if (nuf_list[nn](uNode)) break;
-    }
+    for (nn=0; (nn<nuf_used) && !uNode->dead; nn++)
+        nuf_list[nn](uNode);
     return uNode;
 }