X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules.cpp;h=5cfbd6f9398ffcb72a02bece83751291a77426e7;hb=87dd84a97265843cfe19f20c207c1c72f38a4f2d;hp=b051085fd40d68f882e88b888ab279edddd4a1bd;hpb=ffbd1eebf0b82bf40482879f410f58874030a695;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules.cpp b/src/modules.cpp index b051085fd..5cfbd6f93 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -715,7 +715,7 @@ Channel* InspIRCd::GetChannelIndex(long index) bool InspIRCd::MatchText(const std::string &sliteral, const std::string &spattern) { - return match(sliteral.c_str(),spattern.c_str()); + return match(sliteral, spattern); } CmdResult InspIRCd::CallCommandHandler(const std::string &commandname, const std::vector& parameters, User* user)