Oh, sorry - you are correct, the limit is 40.
#define MAX_FRIENDS_LIST_LEN 40
The problem isn't making it bigger - I just have to put a higher number in the line above. It's just that no matter what the limit is, it'll always be too low. We started with 25, I increased it to 30, then to 40. If I increase it to 50, you'll hit that limit soon as well. XD
I try not to make people delete others from their friendslist just because of technical limitations, but I also need to put
some kind of number there - because, well, that is a technical limitation.
The only solution I can think of - from the top of my head, at least - is giving you an option to see what characters haven't logged in for a long time (and thus are probably inactive) - but at the same time, you may want to have them on your list to see if they come back. Still, it may be a help: if you would be able to see who is inactive, you could go through that list and remove anyone whose name doesn't ring a bell anymore?