diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-23 19:55:47 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-23 19:55:47 +0000 |
commit | 08e3151057f9e9e2d03a2c5858c5a83335f378fd (patch) | |
tree | 85d72051cffc00eaf8ce862ca1bc0fac8d9db9d7 /include | |
parent | 7a10fd1b5c08a967648371a9e70c611243454c9d (diff) |
pedantic safe
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8316 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/mode.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/mode.h b/include/mode.h index 2524c11dd..a787e4637 100644 --- a/include/mode.h +++ b/include/mode.h @@ -430,12 +430,10 @@ class CoreExport ModeParser : public classbase * @return Last parsed string, as seen by users. */ const std::string& GetLastParse(); - /** Add a mode to the mode parser. The modeletter parameter - * is purely to save on doing a lookup in the function, as - * strictly it could be obtained via ModeHandler::GetModeChar(). + /** Add a mode to the mode parser. * @return True if the mode was successfully added. */ - bool AddMode(ModeHandler* mh, unsigned const char modeletter); + bool AddMode(ModeHandler* mh); /** Delete a mode from the mode parser. * When a mode is deleted, the mode handler will be called * for every user (if it is a user mode) or for every channel |