diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-03-27 12:49:57 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-03-27 12:49:57 +0000 |
commit | 38d3217d4cba0ab87bb04d557359df42b7308a18 (patch) | |
tree | 4f0e66cc8be35b5ca4d7961ee98c29668e8ea61f /src | |
parent | a3d9b31cb6eadd8960f2504d08c625c2dc9d03e8 (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')
-rw-r--r-- | src/modules/m_shun.cpp | 2 |
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. */ |