summaryrefslogtreecommitdiff
path: root/src/modules/m_regex_glob.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-04 15:06:00 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-04 15:06:00 +0000
commit8662f747e716f5c2a0e724f2a1ba54b060ae1f97 (patch)
tree7817d31bed6b7dba4de9ef40fd7732c41e8aaf2a /src/modules/m_regex_glob.cpp
parentdb894013238ff9b0d60f31c7c57220645aef7af3 (diff)
Fix for bug #613 reported by Casey, m_regex_glob's parameters were back to front!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10620 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_regex_glob.cpp')
-rw-r--r--src/modules/m_regex_glob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_regex_glob.cpp b/src/modules/m_regex_glob.cpp
index 8990995cf..d72d49896 100644
--- a/src/modules/m_regex_glob.cpp
+++ b/src/modules/m_regex_glob.cpp
@@ -30,7 +30,7 @@ public:
virtual bool Matches(const std::string& text)
{
- return InspIRCd::Match(this->regex_string, text);
+ return InspIRCd::Match(text, this->regex_string);
}
};