Browse Source

Fixed backwards sed search

tags/3.1.0
Teknikode 4 years ago
parent
commit
66addf9520
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Modules/Sed/Sed.cs

+ 3
- 1
Modules/Sed/Sed.cs View File

@@ -86,7 +86,9 @@ namespace Combot.Modules.Plugins
MessageLock.EnterWriteLock();
if (LastMessages.ContainsKey(key))
{
foreach (string msg in LastMessages[key])
List<string> msgList = LastMessages[key];
msgList.Reverse();
foreach (string msg in msgList)
{
Regex messageRegex = new Regex(match, matchOptions);
if (messageRegex.IsMatch(msg))

Loading…
Cancel
Save