summaryrefslogtreecommitdiff
path: root/src/modules/m_shun.cpp
diff options
context:
space:
mode:
authorB00mX0r <b00mx0r@aureus.pw>2018-04-08 17:28:37 -0700
committerPeter Powell <petpow@saberuk.com>2018-04-11 19:33:27 +0100
commit3243c7d238fb347f5a239b8bc34af47b1281d874 (patch)
tree3b673bd200c669b0c78c5e84f71a107ac5de4abd /src/modules/m_shun.cpp
parentaa19c8fc021ce1cc704434a2c5a19e1517132c79 (diff)
Fix blank instead of empty PART message when a user is shunned
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 3147d5476..98e63f026 100644
--- a/src/modules/m_shun.cpp
+++ b/src/modules/m_shun.cpp
@@ -280,7 +280,7 @@ class ModuleShun : public Module
else if ((command == "PART") && (parameters.size() > 1))
{
/* same for PART */
- parameters[1].clear();
+ parameters.pop_back();
}
/* if we're here, allow the command. */