From 9a3475ed584b09c221219b306611c0b691161a08 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 14 Apr 2005 12:09:53 +0000 Subject: Added OnPreCommand git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1080 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index 3d4972a2d..6ff60b208 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -332,6 +332,7 @@ int Module::OnKill(userrec* source, userrec* dest, std::string reason) { return 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; }; // server is a wrapper class that provides methods to all of the C-style // exports in the core -- cgit v1.2.3