From e4a08d44617d8b46f58a0e110ffcf7f8df29a56f Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 7 Apr 2005 16:05:08 +0000 Subject: Added /LOADMODULE (tested and working) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@998 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/commands.h | 1 + include/inspircd.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/commands.h b/include/commands.h index 1242671b3..aa6fcf206 100644 --- a/include/commands.h +++ b/include/commands.h @@ -79,6 +79,7 @@ void handle_zline(char **parameters, int pcnt, userrec *user); void handle_qline(char **parameters, int pcnt, userrec *user); void handle_eline(char **parameters, int pcnt, userrec *user); void handle_server(char **parameters, int pcnt, userrec *user); +void handle_loadmodule(char **parameters, int pcnt, userrec *user); /** Special functions for processing server to server traffic */ diff --git a/include/inspircd.h b/include/inspircd.h index 2f16fbc82..e54da779b 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -158,7 +158,8 @@ char islast(const char* s); long map_count(const char* s); userrec* ReHashNick(char* Old, char* New); long GetMaxBans(char* name); - +bool LoadModule(const char* filename); +char* ModuleError(); // mesh network functions -- cgit v1.2.3