mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-30 00:17:09 +01:00
Fix an issue with command listeners not retaining the help/info messages. Credits @DrakezZ for spotting the issue.
This commit is contained in:
1 parent
6975572bfe
commit
8ad3eb8c4e
1 file changed
+4
-4
+4
-4
@@ -1324,11 +1324,11 @@ public:
|
||||
{
|
||||
if (help)
|
||||
{
|
||||
m_Help.clear();
|
||||
m_Help.assign(help);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_Help.assign(help);
|
||||
m_Help.clear();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1347,11 +1347,11 @@ public:
|
||||
{
|
||||
if (info)
|
||||
{
|
||||
m_Info.clear();
|
||||
m_Info.assign(info);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_Info.assign(info);
|
||||
m_Info.clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user