From 556aeac2955606388c24c0ff02682e50e8dd2a1b Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Tue, 12 Jul 2016 02:48:53 +0300 Subject: [PATCH] Fix an issue with command listeners not retaining the help/info messages. Credits @DrakezZ for spotting the issue. --- source/Command.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Command.hpp b/source/Command.hpp index 42d42a59..85e0884a 100644 --- a/source/Command.hpp +++ b/source/Command.hpp @@ -1290,11 +1290,11 @@ public: // Assign the specifier, if any if (spec) { - m_Spec.clear(); + m_Spec.assign(spec); } else { - m_Spec.assign(spec); + m_Spec.clear(); } }