From 3243c7d238fb347f5a239b8bc34af47b1281d874 Mon Sep 17 00:00:00 2001 From: B00mX0r Date: Sun, 8 Apr 2018 17:28:37 -0700 Subject: Fix blank instead of empty PART message when a user is shunned --- 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 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. */ -- cgit v1.2.3