summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-15 14:12:13 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-15 14:12:13 +0000
commit818ead2412e2f9a3661f99d165e850ff0f49b092 (patch)
treeb8881ce90336ebffdf6a878cdba53bca7b5da5fb /src/modules.cpp
parent704ae49baa572ecc0779be85a23c55ae2db7732e (diff)
Tidied up call_handler to use strings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2476 e03df62e-2008-0410-955e-edbf42e46eb7
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)