Browse Source

1.04 - Adding safemode feature to prevent accidental chatlog spam.

pull/1/head
zombie343 6 years ago
parent
commit
1282cd5883
  1. 3
      src/MultiSend/IO.cpp

3
src/MultiSend/IO.cpp

@ -59,8 +59,7 @@ void MultiSend::SendCommand(uint32_t ID, const char* Command)
memcpy(Text, Command, strlen(Command)); memcpy(Text, Command, strlen(Command));
if (_SafeMode) if (_SafeMode)
SanitizeCommand(Text); SanitizeCommand(Text);
SubValues(Text); SubValues(Text);
Claim(&(MMF_Pointer->Command.ProcessID), 0); Claim(&(MMF_Pointer->Command.ProcessID), 0);
int NextPosition = MMF_Pointer->Command.Position + 1; int NextPosition = MMF_Pointer->Command.Position + 1;

Loading…
Cancel
Save