From 9941be7564b61343923129a2021309cfe04225e0 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 1 Dec 2005 19:24:53 +0000 Subject: Added clever code to propogate module's special commands (SAJOIN, KNOCK etc) transparently! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2084 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index 2dda2daf5..e199bcbcc 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -464,6 +464,11 @@ void Server::CallCommandHandler(std::string commandname, char** parameters, int call_handler(commandname.c_str(),parameters,pcnt,user); } +bool Server::IsValidModuleCommand(std::string commandname, int pcnt, userrec* user) +{ + return is_valid_cmd(commandname, pcnt, user) +} + void Server::Log(int level, std::string s) { log(level,"%s",s.c_str()); -- cgit v1.2.3