Fix CHANGE_NICK_ON_KILL feature

Remove the 'resend_only' flag option to fudge_nickname().  The only caller passing it was the CHANGE_NICK_ON_KILL
feature, and in that case it was the wrong thing too (and stopped that function from working at all).

Some other minor cleanups in fudge_nickname() while we're there.
This commit is contained in:
Kevin Easton
2017-07-15 23:29:14 +10:00
parent b481ed1e6e
commit cd9c358eed
6 changed files with 15 additions and 24 deletions

View File

@@ -284,7 +284,7 @@ extern SGroup *server_group_list;
void change_server_nickname (int, char *);
void register_server (int, char *);
void BX_fudge_nickname (int, int);
void BX_fudge_nickname (int);
char *BX_get_pending_nickname (int);
void accept_server_nickname (int, char *);
void BX_reset_nickname (int);