summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-10 19:23:39 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-10 19:23:39 +0000
commite5ea4ee3fb5bf03f16442527d17e29daea77ec28 (patch)
treeaa8bfc3cbc5a7548cd2b94a2bb27be26e5874d07 /src/modules
parentcd26d2b6a61dfbee366883bbf14da0aed33d620f (diff)
Make /stats s more detailed, fix a grammar error
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5676 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_filter_pcre.cpp2
-rw-r--r--src/modules/m_filter.cpp2
-rw-r--r--src/modules/m_filter.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/extra/m_filter_pcre.cpp b/src/modules/extra/m_filter_pcre.cpp
index 80f5b3101..2a6ce3061 100644
--- a/src/modules/extra/m_filter_pcre.cpp
+++ b/src/modules/extra/m_filter_pcre.cpp
@@ -157,7 +157,7 @@ class ModuleFilterPCRE : public FilterBase
std::string sn = ServerInstance->Config->ServerName;
for (std::vector<PCREFilter>::iterator i = filters.begin(); i != filters.end(); i++)
{
- results.push_back(sn+" 223 "+user->nick+" :"+i->freeform+" "+i->action+" "+ConvToStr(i->gline_time)+" :"+i->reason);
+ results.push_back(sn+" 223 "+user->nick+" :REGEXP:"+i->freeform+" "+i->action+" "+ConvToStr(i->gline_time)+" :"+i->reason);
}
}
return 0;
diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp
index 7bbe5b56a..1074b27bb 100644
--- a/src/modules/m_filter.cpp
+++ b/src/modules/m_filter.cpp
@@ -129,7 +129,7 @@ class ModuleFilter : public FilterBase
std::string sn = ServerInstance->Config->ServerName;
for (filter_t::iterator n = filters.begin(); n != filters.end(); n++)
{
- results.push_back(sn+" 223 "+user->nick+" :"+n->second->freeform+" "+n->second->action+" "+ConvToStr(n->second->gline_time)+" :"+n->second->reason);
+ results.push_back(sn+" 223 "+user->nick+" :GLOB:"+n->second->freeform+" "+n->second->action+" "+ConvToStr(n->second->gline_time)+" :"+n->second->reason);
}
}
return 0;
diff --git a/src/modules/m_filter.h b/src/modules/m_filter.h
index 51f5d8b0a..6d640f1a6 100644
--- a/src/modules/m_filter.h
+++ b/src/modules/m_filter.h
@@ -127,7 +127,7 @@ class cmd_filter : public command_t
std::pair<bool, std::string> result = Base->AddFilter(freeform, type, reason, duration);
if (result.first)
{
- user->WriteServ("NOTICE %s :*** Added filter '%s', type '%s%s%s', reason: '%s'", user->nick, freeform.c_str(),
+ user->WriteServ("NOTICE %s :*** Added filter '%s', type '%s'%s%s, reason: '%s'", user->nick, freeform.c_str(),
type.c_str(), (duration ? " duration: " : ""), (duration ? parameters[2] : ""),
reason.c_str());
return CMD_SUCCESS;