diff options
| author | 2022-03-27 15:33:31 +0100 | |
|---|---|---|
| committer | 2022-03-27 15:41:28 +0100 | |
| commit | ed6e19bbd06cdec2a9d75e4c2c338d47d759eecf (patch) | |
| tree | 29d90503a51c54eafd0ba87bd34b961908d45b48 /include/mode.h | |
| parent | Merge branch 'insp3' into master. (diff) | |
Fix unsigned/const keyword ordering, remove unnecessary consts.
Diffstat (limited to 'include/mode.h')
| -rw-r--r-- | include/mode.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
