X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/3070719a8fd6b932ceb069e005f1567b7d1d30a8..75fcdcad712524432db81dd26444d3cb0b79f541:/src/mod-helpserv.c?ds=sidebyside diff --git a/src/mod-helpserv.c b/src/mod-helpserv.c index 0045251..a0684d4 100644 --- a/src/mod-helpserv.c +++ b/src/mod-helpserv.c @@ -4768,7 +4768,7 @@ static void handle_nickserv_unreg(struct userNode *user, struct handle_info *han dict_remove(helpserv_reqs_byhand_dict, handle->handle); } -static void handle_nickserv_merge(struct userNode *user, struct handle_info *handle_to, struct handle_info *handle_from) { +static void handle_nickserv_merge(struct userNode *user, struct handle_info *handle_to, struct handle_info *handle_from, UNUSED_ARG(void *extra)) { struct helpserv_reqlist *reqlist_from, *reqlist_to; unsigned int i; @@ -4800,7 +4800,7 @@ static void handle_nickserv_merge(struct userNode *user, struct handle_info *han } } -static void handle_nickserv_allowauth(struct userNode *user, struct userNode *target, struct handle_info *handle) { +static void handle_nickserv_allowauth(struct userNode *user, struct userNode *target, struct handle_info *handle, UNUSED_ARG(void *extra)) { struct helpserv_reqlist *reqlist; unsigned int i; @@ -4819,7 +4819,7 @@ static void handle_nickserv_allowauth(struct userNode *user, struct userNode *ta } } -static void handle_nickserv_failpw(struct userNode *user, struct handle_info *handle) { +static void handle_nickserv_failpw(struct userNode *user, struct handle_info *handle, UNUSED_ARG(void *extra)) { struct helpserv_reqlist *reqlist; unsigned int i; @@ -5026,9 +5026,9 @@ int helpserv_init() { reg_auth_func(handle_nickserv_auth); reg_handle_rename_func(handle_nickserv_rename, NULL); reg_unreg_func(handle_nickserv_unreg); - reg_allowauth_func(handle_nickserv_allowauth); - reg_failpw_func(handle_nickserv_failpw); - reg_handle_merge_func(handle_nickserv_merge); + reg_allowauth_func(handle_nickserv_allowauth, NULL); + reg_failpw_func(handle_nickserv_failpw, NULL); + reg_handle_merge_func(handle_nickserv_merge, NULL); reg_exit_func(helpserv_db_cleanup);