From 981ca37d6641404548a13623b90438f8f1c87ded Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 11 Mar 2006 15:22:26 +0000 Subject: Yet more const ref changes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3658 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_silence.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_silence.cpp') diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp index e785265ac..b4118da07 100644 --- a/src/modules/m_silence.cpp +++ b/src/modules/m_silence.cpp @@ -146,7 +146,7 @@ class ModuleSilence : public Module List[I_OnUserQuit] = List[I_On005Numeric] = List[I_OnUserPreNotice] = List[I_OnUserPreMessage] = 1; } - virtual void OnUserQuit(userrec* user, std::string reason) + virtual void OnUserQuit(userrec* user, const std::string &reason) { // when the user quits tidy up any silence list they might have just to keep things tidy // and to prevent a HONKING BIG MEMORY LEAK! -- cgit v1.2.3