fixed friend add bugs and gave no message its own error

The if (length == 0) condition was doing nothing, and if there is going to be a forced message for friend adds, it should have its own error code/message. But a default message is a better solution imo.