diff options
Diffstat (limited to 'include')
-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 64829845f..093822372 100644 --- a/include/mode.h +++ b/include/mode.h @@ -214,7 +214,7 @@ class CoreExport ModeHandler : public ServiceProvider * Returns the mode character this handler handles. * @return The mode character */ - inline char GetModeChar() { return mode; } + char GetModeChar() const { return mode; } /** Return the id of this mode which is used in User::modes and * Channel::modes as the index to determine whether a mode is set. @@ -450,7 +450,7 @@ class CoreExport ModeWatcher : public classbase * Get the mode type being watched * @return The mode type being watched (user or channel) */ - ModeType GetModeType(); + ModeType GetModeType() const { return m_type; } /** * Before the mode character is processed by its handler, this method will be called. |