From e51a4b5c29deac855496d6658a3c4612a61ffbb7 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 Aug 2006 18:43:15 +0000 Subject: Move InsertMode into ModeParser git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4849 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/helperfuncs.h | 1 - include/mode.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/helperfuncs.h b/include/helperfuncs.h index ff43c4abe..21cb6caf3 100644 --- a/include/helperfuncs.h +++ b/include/helperfuncs.h @@ -53,7 +53,6 @@ void Error(int status); void ShowMOTD(userrec *user); void ShowRULES(userrec *user); bool AllModulesReportReady(userrec* user); -int InsertMode(std::string &output, const char* modes, unsigned short section); bool IsValidChannelName(const char *); #endif diff --git a/include/mode.h b/include/mode.h index 6d31d580e..63a64363a 100644 --- a/include/mode.h +++ b/include/mode.h @@ -381,6 +381,8 @@ class ModeParser : public classbase std::string ChannelModeList(); std::string ParaModeList(); + + bool InsertMode(std::string &output, const char* mode, unsigned short section); }; /** -- cgit v1.2.3