diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-06-06 01:07:22 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-06-06 01:07:22 +0200 |
commit | d9d99cd02dadf34bfcc220734ba0c422f0acb3e6 (patch) | |
tree | 72a11fab75875b7e4f739ddd203da60e5dcbc851 /src/commands/cmd_loadmodule.cpp | |
parent | 8a06d54076551387f83a29360478ee6605e241b6 (diff) | |
parent | e0ff94b310e9b73ac0131e9df14fb7ca2bf3a878 (diff) |
Merge insp20
Diffstat (limited to 'src/commands/cmd_loadmodule.cpp')
-rw-r--r-- | src/commands/cmd_loadmodule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_loadmodule.cpp b/src/commands/cmd_loadmodule.cpp index 9d60613a2..379e597e4 100644 --- a/src/commands/cmd_loadmodule.cpp +++ b/src/commands/cmd_loadmodule.cpp @@ -44,7 +44,7 @@ class CommandLoadmodule : public Command */ CmdResult CommandLoadmodule::Handle (const std::vector<std::string>& parameters, User *user) { - if (ServerInstance->Modules->Load(parameters[0].c_str())) + if (ServerInstance->Modules->Load(parameters[0])) { ServerInstance->SNO->WriteGlobalSno('a', "NEW MODULE: %s loaded %s",user->nick.c_str(), parameters[0].c_str()); user->WriteNumeric(975, "%s %s :Module successfully loaded.",user->nick.c_str(), parameters[0].c_str()); |