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:
@@ -510,7 +510,7 @@ extern Function_ptr *global;
|
||||
#define set_server_redirect (*(void (*)(int , const char *))global[SET_SERVER_REDIRECT])
|
||||
#define get_server_redirect (*(char *(*)(int ))global[GET_SERVER_REDIRECT])
|
||||
#define check_server_redirect (*(int (*)(char *))global[CHECK_SERVER_REDIRECT])
|
||||
#define fudge_nickname (*(void (*)(int , int ))global[FUDGE_NICKNAME])
|
||||
#define fudge_nickname (*(void (*)(int))global[FUDGE_NICKNAME])
|
||||
#define reset_nickname (*(void (*)(int ))global[RESET_NICKNAME])
|
||||
|
||||
#define set_server_cookie (*(void (*)(int , char *))global[SET_SERVER_COOKIE])
|
||||
|
||||
Reference in New Issue
Block a user