summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 93f05cdf1..9b98c7d12 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -400,12 +400,12 @@ bool Server::IsUlined(std::string server)
void Server::CallCommandHandler(std::string commandname, char** parameters, int pcnt, userrec* user)
{
- call_handler(commandname.c_str(),parameters,pcnt,user);
+ call_handler(commandname,parameters,pcnt,user);
}
bool Server::IsValidModuleCommand(std::string commandname, int pcnt, userrec* user)
{
- return is_valid_cmd(commandname.c_str(), pcnt, user);
+ return is_valid_cmd(commandname, pcnt, user);
}
void Server::Log(int level, std::string s)