mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-19 03:57:14 +01:00
Compare commits
No commits in common. "131a3f6a62732c3410ececde5281ffdb47402255" and "b4fa4091df9d09f35c6ff18f015ad6bd67135a6c" have entirely different histories.
131a3f6a62
...
b4fa4091df
@ -914,7 +914,7 @@ void Core::EmitPlayerCommand(int32_t player_id, const char * message)
|
||||
if (split)
|
||||
{
|
||||
// Create a string object for the command (don't include the space character)
|
||||
text = LightObj(message, static_cast< SQInteger >(split - message));
|
||||
text = LightObj(message, static_cast< SQInteger >(split - message) - 1);
|
||||
// Do we need to create a script object for arguments?
|
||||
if (std::strlen(split + 1) > 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user