summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-14 12:47:19 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-14 12:47:19 +0000
commiteacdc9ef87b671e80f27043e021d98daa44bce92 (patch)
tree66d2e97f70cc1c2be1fceace41d8f706539e2a68 /src/modules.cpp
parent9a3475ed584b09c221219b306611c0b691161a08 (diff)
Added (untested!) OnCheckReady and OnUserRegister (gonna write an ident lookup module!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1081 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 6ff60b208..12dccdade 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -333,6 +333,8 @@ void Module::OnLoadModule(Module* mod,std::string name) { };
void Module::OnBackgroundTimer(time_t curtime) { };
void Module::OnSendList(userrec* user, chanrec* channel, char mode) { };
int Module::OnPreCommand(std::string command, char **parameters, int pcnt, userrec *user) { return 0; };
+bool Module::OnCheckReady(userrec* user) { return true; };
+void Module::OnUserRegister(userrec* user) { };
// server is a wrapper class that provides methods to all of the C-style
// exports in the core