From 4e599dd4fbfe5abc0d60a05008344e35e6bc870d Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 11 Jul 2008 14:44:17 +0000 Subject: Fix m_nopartmsg to work via API modification, involves a string copy that won't last too long. Compiles cleanly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9953 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_delayjoin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_delayjoin.cpp') diff --git a/src/modules/m_delayjoin.cpp b/src/modules/m_delayjoin.cpp index f8a1d0e9f..6b6f0c5a1 100644 --- a/src/modules/m_delayjoin.cpp +++ b/src/modules/m_delayjoin.cpp @@ -117,7 +117,7 @@ class ModuleDelayJoin : public Module } } - void OnUserPart(User* user, Channel* channel, const std::string &partmessage, bool &silent) + void OnUserPart(User* user, Channel* channel, std::string &partmessage, bool &silent) { if (channel->IsModeSet('D')) { -- cgit v1.2.3