aboutsummaryrefslogtreecommitdiffstats
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 5372c9995..4ad6ff2a9 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -53,7 +53,7 @@ Command::~Command()
void Command::RegisterService()
{
if (!ServerInstance->Parser.AddCommand(this))
- throw ModuleException("Command already exists: " + name);
+ throw ModuleException(creator, "Command already exists: " + name);
}
void Command::TellNotEnoughParameters(LocalUser* user, const Params& parameters)