diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 18:43:15 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 18:43:15 +0000 |
commit | e51a4b5c29deac855496d6658a3c4612a61ffbb7 (patch) | |
tree | 56fc8b6ff360388567bcb64aee8dfd179085edf4 /include | |
parent | 6c9588419d3cfe01d04d3c870eaac712bb6745b8 (diff) |
Move InsertMode into ModeParser
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4849 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/helperfuncs.h | 1 | ||||
-rw-r--r-- | include/mode.h | 2 |
2 files changed, 2 insertions, 1 deletions
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); }; /** |