summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2003-04-18 19:03:21 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2003-04-18 19:03:21 +0000
commit7493cbb6b96253da72eae375acc7b4d0d309122c (patch)
tree88807526a885d1751b2fc29d97054e91e4fe4c2e /src/modules.cpp
parent799cda68778e3b2fc81a599d1b6d00813707dfa4 (diff)
Added Mode handler structures and types
Fixed crash when doing /who * when on no channels git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@174 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index bf13eb151..4452f0423 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -34,6 +34,7 @@ void Module::OnPacketTransmit(char *p) { }
void Module::OnPacketReceive(char *p) { }
void Module::OnRehash() { }
void Module::OnServerRaw(string &raw, bool inbound) { }
+bool Module::OnExtendedMode(char modechar, int type, bool mode_on, string_list &params) { }
Version Module::GetVersion() { return Version(1,0,0,0); }
// server is a wrapper class that provides methods to all of the C-style
@@ -160,6 +161,11 @@ ConfigReader::~ConfigReader()
}
+bool Server::AddExtendedMode(char modechar, int type, bool default_on, int params_when_on, int params_when_off)
+{
+}
+
+
ConfigReader::ConfigReader(string filename) : fname(filename) { };
string ConfigReader::ReadValue(string tag, string name, int index)