aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_timedbans.cpp
diff options
context:
space:
mode:
authorGravatar Adam2013-12-14 22:55:10 -0800
committerGravatar Adam2013-12-14 22:55:10 -0800
commit59df199aaedf8018979c444eaa8cca59ff001877 (patch)
treee7d873a3250f50b2ecb7c4bc47d7fcf7a9cefefd /src/modules/m_timedbans.cpp
parentm_cap Convert capability names in CAP REQ to lowercase before processing them (diff)
parentMake various self contained methods static. (diff)
Merge pull request #689 from SaberUK/master+cxxify
Clean up various things.
Diffstat (limited to 'src/modules/m_timedbans.cpp')
-rw-r--r--src/modules/m_timedbans.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp
index 2441f1aa8..40cc162c1 100644
--- a/src/modules/m_timedbans.cpp
+++ b/src/modules/m_timedbans.cpp
@@ -75,7 +75,7 @@ class CommandTban : public Command
setban.push_back(parameters[0]);
setban.push_back("+b");
bool isextban = ((mask.size() > 2) && (mask[1] == ':'));
- if (!isextban && !ServerInstance->IsValidMask(mask))
+ if (!isextban && !InspIRCd::IsValidMask(mask))
mask.append("!*@*");
setban.push_back(mask);