summaryrefslogtreecommitdiff
path: root/src/modules/m_services.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-11 15:22:26 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-11 15:22:26 +0000
commit981ca37d6641404548a13623b90438f8f1c87ded (patch)
treee35373c8b3f647ee64f68a1f29d88743ff3c7eae /src/modules/m_services.cpp
parent0efd83fa4b6a03d28d1e4853ae262edb48b096b0 (diff)
Yet more const ref changes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3658 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_services.cpp')
-rw-r--r--src/modules/m_services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp
index 3253d34dd..ead96ae98 100644
--- a/src/modules/m_services.cpp
+++ b/src/modules/m_services.cpp
@@ -66,7 +66,7 @@ class ModuleServices : public Module
List[I_OnWhois] = List[I_OnUserPostNick] = List[I_OnUserPreMessage] = List[I_OnExtendedMode] = List[I_On005Numeric] = List[I_OnUserPreNotice] = List[I_OnUserPreJoin] = 1;
}
- virtual void OnUserPostNick(userrec* user, std::string oldnick)
+ virtual void OnUserPostNick(userrec* user, const std::string &oldnick)
{
/* On nickchange, if they have +r, remove it */
if (strchr(user->modes,'r'))