Remove redundant chat command execution
Eliminated the call to GetClient().Self.Chat for each command in RLVService, as it was only being used for testing
This commit is contained in:
parent
bbea1b7473
commit
80f1ce7af0
1 changed files with 0 additions and 1 deletions
|
|
@ -309,7 +309,6 @@ namespace SecondBotEvents.Services
|
||||||
|
|
||||||
foreach (var cmd in e.Message.Substring(1).Split(','))
|
foreach (var cmd in e.Message.Substring(1).Split(','))
|
||||||
{
|
{
|
||||||
GetClient().Self.Chat(cmd, 0, ChatType.Normal);
|
|
||||||
var m = rlv_regex.Match(cmd);
|
var m = rlv_regex.Match(cmd);
|
||||||
if (!m.Success) continue;
|
if (!m.Success) continue;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue