summaryrefslogtreecommitdiff
path: root/src/modules/m_shun.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-27 12:49:57 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-27 12:49:57 +0000
commit38d3217d4cba0ab87bb04d557359df42b7308a18 (patch)
tree4f0e66cc8be35b5ca4d7961ee98c29668e8ea61f /src/modules/m_shun.cpp
parenta3d9b31cb6eadd8960f2504d08c625c2dc9d03e8 (diff)
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
Diffstat (limited to 'src/modules/m_shun.cpp')
-rw-r--r--src/modules/m_shun.cpp2
1 files changed, 1 insertions, 1 deletions
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. */