From 38d3217d4cba0ab87bb04d557359df42b7308a18 Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 27 Mar 2009 12:49:57 +0000 Subject: Instead of emptying parameters on shunned PART, only empty the reason. Fixes bug #810, reported by Casey and others. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11265 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_shun.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp index 62f4cfd05..05f4bfe3c 100644 --- a/src/modules/m_shun.cpp +++ b/src/modules/m_shun.cpp @@ -278,7 +278,7 @@ class ModuleShun : public Module else if (command == "PART") { /* same for PART */ - parameters.clear(); + parameters[1] = ""; } /* if we're here, allow the command. */ -- cgit v1.2.3