From 9ede59892d06b57dea0c9ef90dd88062417b0202 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 20 Oct 2006 07:55:08 +0000 Subject: Const refs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5505 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_svshold.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_svshold.cpp') diff --git a/src/modules/m_svshold.cpp b/src/modules/m_svshold.cpp index 614c0fec4..81dcacd0c 100644 --- a/src/modules/m_svshold.cpp +++ b/src/modules/m_svshold.cpp @@ -39,7 +39,7 @@ public: { } - SVSHold(std::string nn, std::string sb, time_t so, long ln, std::string rs) : nickname(nn), set_by(sb), set_on(so), length(ln), reason(rs) + SVSHold(const std::string &nn, const std::string &sb, const time_t so, const long ln, const std::string &rs) : nickname(nn), set_by(sb), set_on(so), length(ln), reason(rs) { } }; -- cgit v1.2.3