summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 18:37:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 18:37:58 +0000
commit95f7464c23f42746a96c4804e50700b17ff2271a (patch)
tree5b6333976c35f4b2b317af1c73e09de3ddcc7a00 /src
parent26c64a80a066ee3c19672df5e162c1959522f591 (diff)
Fixed handle_*module
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2445 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/commands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 470ba0b09..de21a6240 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -169,7 +169,7 @@ void handle_kick(char **parameters, int pcnt, userrec *user)
void handle_loadmodule(char **parameters, int pcnt, userrec *user)
{
- if (LoadModule(parameters[0]))
+ if (ServerInstance->LoadModule(parameters[0]))
{
WriteOpers("*** NEW MODULE: %s",parameters[0]);
WriteServ(user->fd,"975 %s %s :Module successfully loaded.",user->nick, parameters[0]);
@@ -182,7 +182,7 @@ void handle_loadmodule(char **parameters, int pcnt, userrec *user)
void handle_unloadmodule(char **parameters, int pcnt, userrec *user)
{
- if (UnloadModule(parameters[0]))
+ if (ServerInstance->UnloadModule(parameters[0]))
{
WriteOpers("*** MODULE UNLOADED: %s",parameters[0]);
WriteServ(user->fd,"973 %s %s :Module successfully unloaded.",user->nick, parameters[0]);