From dfe404b1ad2707f91ac1fe1f2afa013c0d8a44be Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 5 Feb 2017 11:21:51 +0100 Subject: [PATCH] [Bans] Concatinate reason from left params --- src/Components/Modules/Bans.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Modules/Bans.cpp b/src/Components/Modules/Bans.cpp index a3948175..b564e154 100644 --- a/src/Components/Modules/Bans.cpp +++ b/src/Components/Modules/Bans.cpp @@ -192,7 +192,7 @@ namespace Components if (params->length() < 2) return; std::string reason = "EXE_ERR_BANNED_PERM"; - if (params->length() >= 3) reason = params->get(2); + if (params->length() >= 3) reason = params->join(2); Bans::BanClientNum(atoi(params->get(1)), reason); });