From ed6e19bbd06cdec2a9d75e4c2c338d47d759eecf Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 27 Mar 2022 15:33:31 +0100 Subject: Fix unsigned/const keyword ordering, remove unnecessary consts. --- include/mode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/mode.h') diff --git a/include/mode.h b/include/mode.h index cbc57d57b..1d7437b9c 100644 --- a/include/mode.h +++ b/include/mode.h @@ -775,7 +775,7 @@ public: * @param mt type of mode to search for, user or channel * @returns a pointer to a ModeHandler class, or NULL of there isn't a handler for the given mode */ - ModeHandler* FindMode(unsigned const char modeletter, ModeType mt); + ModeHandler* FindMode(unsigned char modeletter, ModeType mt); /** Find the mode handler for the given prefix mode * @param modeletter The mode letter to search for @@ -788,7 +788,7 @@ public: * @param pfxletter The prefix to find, e.g. '@' * @return The mode handler which handles this prefix, or NULL if there is none. */ - PrefixMode* FindPrefix(unsigned const char pfxletter); + PrefixMode* FindPrefix(unsigned char pfxletter); /** Get a list of all mode handlers that inherit from ListModeBase * @return A list containing ListModeBase modes -- cgit v1.3.1-10-gc9f91