Searched refs:prefs_get_max_friends (Results 1 – 4 of 4) sorted by relevance
159 extern int prefs_get_max_friends(void) ;
1597 if ( frienduid == 0 || friendnum < 0 || friendnum >= prefs_get_max_friends()) in account_set_friend()1613 if (friendnum < 0 || friendnum >= prefs_get_max_friends()) { in account_get_friend()1615 …g_level_error, __FUNCTION__, "invalid friendnum %d (max: %d)", friendnum, prefs_get_max_friends()); in account_get_friend()1651 if (count < 0 || count > prefs_get_max_friends()) in account_set_friendcount()1682 if (nf >= prefs_get_max_friends()) return -3; in account_add_friend()
3057 extern int prefs_get_max_friends(void) in prefs_get_max_friends() function
1279 …f(msgtemp, sizeof(msgtemp), "You can only have a maximum of %d friends.", prefs_get_max_friends()); in _handle_friends_command()