diff options
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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()); |