diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-07 16:05:08 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-07 16:05:08 +0000 |
commit | e4a08d44617d8b46f58a0e110ffcf7f8df29a56f (patch) | |
tree | 8b4ac16de8a415204f799221b74e7199ce554445 /include | |
parent | f80d40018af3c47f710f6e787ed54dc72a416d8a (diff) |
Added /LOADMODULE (tested and working)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@998 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/commands.h | 1 | ||||
-rw-r--r-- | include/inspircd.h | 3 |
2 files changed, 3 insertions, 1 deletions
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 |