X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/63189c10a67e72bcf6d6c6342f6b88e1aac9cd55..ba4b4d51cca3e321dbb82384f00b9458e72e7639:/src/opserv.c diff --git a/src/opserv.c b/src/opserv.c index 0c4ec1a..5718793 100644 --- a/src/opserv.c +++ b/src/opserv.c @@ -216,6 +216,7 @@ static const struct message_entry msgtab[] = { { "OSMSG_WHOIS_CHANNELS", "Channels : %s" }, { "OSMSG_WHOIS_HIDECHANS", "Channel list omitted for your sanity." }, { "OSMSG_WHOIS_VERSION", "Version : %s" }, + { "OSMSG_WHOIS_SSLFP", "SSL f/print : %s" }, { "OSMSG_WHOIS_MARK", "Mark : %s" }, { "OSMSG_WHOIS_NO_NOTICE", "No_notices : %s" }, { "OSMSG_UNBAN_DONE", "Ban(s) removed from channel %s." }, @@ -2167,6 +2168,9 @@ static MODCMD_FUNC(cmd_whois) if(target->version_reply) { reply("OSMSG_WHOIS_VERSION", target->version_reply); } + if(target->sslfp) { + reply("OSMSG_WHOIS_SSLFP", target->sslfp); + } if(target->mark) { reply("OSMSG_WHOIS_MARK", target->mark); } @@ -2892,7 +2896,7 @@ opserv_shutdown_channel(struct chanNode *channel, const char *reason) } static void -opserv_channel_check(struct chanNode *newchan) +opserv_channel_check(struct chanNode *newchan, UNUSED_ARG(void *extra)) { /*char *warning; */ @@ -2942,7 +2946,7 @@ opserv_notice_handler(struct userNode *user, struct userNode *bot, const char *t } static int -opserv_join_check(struct modeNode *mNode) +opserv_join_check(struct modeNode *mNode, UNUSED_ARG(void *extra)) { struct userNode *user = mNode->user; struct chanNode *channel = mNode->channel; @@ -7396,9 +7400,9 @@ init_opserv(const char *nick) reg_new_user_func(opserv_new_user_check, NULL); reg_nick_change_func(opserv_alert_check_nick, NULL); reg_del_user_func(opserv_user_cleanup, NULL); - reg_new_channel_func(opserv_channel_check); + reg_new_channel_func(opserv_channel_check, NULL); reg_del_channel_func(opserv_channel_delete); - reg_join_func(opserv_join_check); + reg_join_func(opserv_join_check, NULL); reg_auth_func(opserv_staff_alert); reg_auth_func(opserv_alert_check_account); reg_notice_func(opserv, opserv_notice_handler);