From 4f1e5f35a32b6e86cd0ef100b6a8fbd1b70b0355 Mon Sep 17 00:00:00 2001 From: Ailin Nemui Date: Thu, 21 Apr 2022 14:01:42 +0200 Subject: [PATCH] fix formatting --- src/fe-common/irc/fe-events-numeric.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/fe-common/irc/fe-events-numeric.c b/src/fe-common/irc/fe-events-numeric.c index f643b949..34ba3fe7 100644 --- a/src/fe-common/irc/fe-events-numeric.c +++ b/src/fe-common/irc/fe-events-numeric.c @@ -554,7 +554,8 @@ static void event_489(IRC_SERVER_REC *server, const char *data, const char *nick g_free(params); } -static void event_help(IRC_SERVER_REC *server, int formatnum, const char *data) { +static void event_help(IRC_SERVER_REC *server, int formatnum, const char *data) +{ /* Common handling for umerics 704 (RPL_HELPSTART), 705 (RPL_HELPTXT), * and 706 (RPL_ENDOFHELP); sent as a reply to HELP or HELPOP command. */ @@ -573,29 +574,25 @@ static void event_help(IRC_SERVER_REC *server, int formatnum, const char *data) help_text = " "; } - printformat(server, NULL, MSGLEVEL_CRAP, formatnum, - topic, help_text); + printformat(server, NULL, MSGLEVEL_CRAP, formatnum, topic, help_text); g_free(params); } -static void event_helpstart(IRC_SERVER_REC *server, const char *data, - const char *nick) +static void event_helpstart(IRC_SERVER_REC *server, const char *data, const char *nick) { /* Numeric 704 (RPL_HELPSTART) sent as a reply to HELP or HELPOP command. */ event_help(server, IRCTXT_SERVER_HELP_START, data); } -static void event_helptxt(IRC_SERVER_REC *server, const char *data, - const char *nick) +static void event_helptxt(IRC_SERVER_REC *server, const char *data, const char *nick) { /* Numeric 705 (RPL_HELPTXT), sent as a reply to HELP or HELPOP command. */ event_help(server, IRCTXT_SERVER_HELP_TXT, data); } -static void event_endofhelp(IRC_SERVER_REC *server, const char *data, - const char *nick) +static void event_endofhelp(IRC_SERVER_REC *server, const char *data, const char *nick) { /* Numeric 706 (RPL_ENDOFHELP), sent as a reply to HELP or HELPOP command. */