From 95f7464c23f42746a96c4804e50700b17ff2271a Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Dec 2005 18:37:58 +0000 Subject: Fixed handle_*module git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2445 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 4 ++-- 1 file 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]); -- cgit v1.2.3