diff options
Diffstat (limited to 'include/mode.h')
-rw-r--r-- | include/mode.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/mode.h b/include/mode.h index f4e5e8a60..f1768f559 100644 --- a/include/mode.h +++ b/include/mode.h @@ -14,11 +14,7 @@ #ifndef __MODE_H #define __MODE_H -/* Forward declarations. */ -class User; - #include "ctables.h" -#include "channels.h" /** * Holds the values for different type of modes @@ -214,7 +210,7 @@ class CoreExport ModeHandler : public classbase * Returns the mode character this handler handles. * @return The mode character */ - char GetModeChar(); + inline char GetModeChar() { return mode; } /** For user modes, return the current parameter, if any */ |