summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-05 17:39:36 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-05 17:39:36 +0000
commitc2993f666f8146e75b4039b2b7bffe3455a3ac61 (patch)
tree9672e7a956f241696a337acf9973309c4c2b1e16 /src/modules/extra
parentd2717df5ef65c00bb43e1b775c7846af1625848a (diff)
Sexeger!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7241 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_filter_pcre.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_filter_pcre.cpp b/src/modules/extra/m_filter_pcre.cpp
index c2cc1f40f..e25fd06bb 100644
--- a/src/modules/extra/m_filter_pcre.cpp
+++ b/src/modules/extra/m_filter_pcre.cpp
@@ -139,7 +139,7 @@ class ModuleFilterPCRE : public FilterBase
std::string reason = MyConf.ReadValue("keyword", "reason", index);
std::string action = MyConf.ReadValue("keyword", "action", index);
std::string flags = MyConf.ReadValue("keyword", "flags", index);
- long gline_time = ServerInstance->Duration(MyConf.ReadValue("keyword", "duration", index).c_str());
+ long gline_time = ServerInstance->Duration(MyConf.ReadValue("keyword", "duration", index));
if (action.empty())
action = "none";
if (flags.empty())