message repeater fix?
This commit is contained in:
parent
d6ca8a8846
commit
b90cb958c9
@ -68,7 +68,7 @@ namespace NadekoBot.Modules.Administration.Commands
|
|||||||
{
|
{
|
||||||
await e.Channel.SendMessage("Repeating disabled").ConfigureAwait(false);
|
await e.Channel.SendMessage("Repeating disabled").ConfigureAwait(false);
|
||||||
Repeater rep;
|
Repeater rep;
|
||||||
if (repeaters.TryGetValue(e.Server, out rep))
|
if (repeaters.TryRemove(e.Server, out rep))
|
||||||
rep.MessageTimer.Stop();
|
rep.MessageTimer.Stop();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user