From 08e3151057f9e9e2d03a2c5858c5a83335f378fd Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 23 Oct 2007 19:55:47 +0000 Subject: pedantic safe git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8316 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/mode.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include') 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 -- cgit v1.2.3