summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index d31099a8b..8cfc4d77b 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -176,7 +176,7 @@ void handle_loadmodule(char **parameters, int pcnt, userrec *user)
}
else
{
- WriteServ(user->fd,"974 %s %s :Failed to load module: %s",user->nick, parameters[0],ModuleError());
+ WriteServ(user->fd,"974 %s %s :Failed to load module: %s",user->nick, parameters[0],ServerInstance->ModuleError());
}
}
@@ -189,7 +189,7 @@ void handle_unloadmodule(char **parameters, int pcnt, userrec *user)
}
else
{
- WriteServ(user->fd,"972 %s %s :Failed to unload module: %s",user->nick, parameters[0],ModuleError());
+ WriteServ(user->fd,"972 %s %s :Failed to unload module: %s",user->nick, parameters[0],ServerInstance->ModuleError());
}
}