mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-30 22:17:13 +02:00
Minor changes in modules and host plugin.
This commit is contained in:
@ -550,8 +550,10 @@ bool CmdManager::Parse()
|
||||
// Extract the current characters before advancing
|
||||
prev = elem, elem = *itr;
|
||||
// See if there's anything left to parse
|
||||
if (elem == 0)
|
||||
if (elem == '\0')
|
||||
{
|
||||
break;
|
||||
}
|
||||
// Early check to prevent parsing extraneous arguments
|
||||
else if (m_Argc >= max_arg)
|
||||
{
|
||||
|
Reference in New Issue
Block a user