summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index e199bcbcc..ae06ee10e 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -466,7 +466,7 @@ void Server::CallCommandHandler(std::string commandname, char** parameters, int
bool Server::IsValidModuleCommand(std::string commandname, int pcnt, userrec* user)
{
- return is_valid_cmd(commandname, pcnt, user)
+ return is_valid_cmd(commandname.c_str(), pcnt, user);
}
void Server::Log(int level, std::string s)