summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
61f2deb)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1044
e03df62e-2008-0410-955e-
edbf42e46eb7
}
if (do_action == "block")
{
}
if (do_action == "block")
{
- Srv->SendOpers(std::string("FilterPCRE: ")+std::string(user->nick)+
+ Srv->SendOpers(std::string("Filter: ")+std::string(user->nick)+
std::string(" had their notice filtered, target was ")+
target+": "+reason);
Srv->SendTo(NULL,user,"NOTICE "+std::string(user->nick)+
" :Your notice has been filtered and opers notified: "+reason);
}
std::string(" had their notice filtered, target was ")+
target+": "+reason);
Srv->SendTo(NULL,user,"NOTICE "+std::string(user->nick)+
" :Your notice has been filtered and opers notified: "+reason);
}
- Srv->Log(DEFAULT,std::string("FilterPCRE: ")+std::string(user->nick)+
+ Srv->Log(DEFAULT,std::string("Filter: ")+std::string(user->nick)+
std::string(" had their notice filtered, target was ")+
target+": "+reason+" Action: "+do_action);
std::string(" had their notice filtered, target was ")+
target+": "+reason+" Action: "+do_action);
log(DEFAULT,"Error, could not find <filter file=\"\"> definition in your config file!");
return;
}
log(DEFAULT,"Error, could not find <filter file=\"\"> definition in your config file!");
return;
}
- Srv->Log(DEFAULT,std::string("m_Filter_pcre: read configuration from ")+filterfile);
+ Srv->Log(DEFAULT,std::string("m_filter_pcre: read configuration from ")+filterfile);
filters.clear();
for (int index = 0; index < MyConf->Enumerate("keyword"); index++)
filters.clear();
for (int index = 0; index < MyConf->Enumerate("keyword"); index++)