summaryrefslogtreecommitdiff
path: root/src/modules/m_timedbans.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-11 15:25:55 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-11 15:25:55 +0000
commitdd17b68273d0b25014af3653f18a35cf181e4e44 (patch)
treedecd0503625bd78f29aee0b5298d1fadfff95240 /src/modules/m_timedbans.cpp
parent7ef184998620a958b47a00b9199f117dc478cb04 (diff)
Last ones
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3660 e03df62e-2008-0410-955e-edbf42e46eb7
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 470d0edee..190f89f0e 100644
--- a/src/modules/m_timedbans.cpp
+++ b/src/modules/m_timedbans.cpp
@@ -127,7 +127,7 @@ class ModuleTimedBans : public Module
List[I_OnDelBan] = List[I_OnBackgroundTimer] = 1;
}
- virtual int OnDelBan(userrec* source, chanrec* chan, std::string banmask)
+ virtual int OnDelBan(userrec* source, chanrec* chan, const std::string &banmask)
{
for (timedbans::iterator i = TimedBanList.begin(); i < TimedBanList.end(); i++)
{