git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9739
e03df62e-2008-0410-955e-
edbf42e46eb7
if (parameters.size() && (parameters[0][0] != '<' || parameters[0][0] == '>'))
{
- if (!match(i->second->name, parameters[0].c_str()) && !match(i->second->topic, parameters[0].c_str()))
+ if (!match(i->second->name, parameters[0]) && !match(i->second->topic, parameters[0]))
continue;
}
std::string xhost;
while (hl >> xhost)
{
- if (match(host,xhost.c_str()) || match(ip,xhost.c_str(),true))
+ if (match(host, xhost) || match(ip,xhost, true))
{
return true;
}