1
0
Bifurcation 0
Parcourir la source

Fixed issue where messages weren't being saved.

master
Teknikode il y a 7 ans
Parent
révision
2e9c0bb2c7
  1. 3
      Modules/Sed/Sed.cs

3
Modules/Sed/Sed.cs

@ -115,9 +115,10 @@ namespace Combot.Modules.Plugins @@ -115,9 +115,10 @@ namespace Combot.Modules.Plugins
List<string> messages = LastMessages[key];
if (messages.Count >= maxMessages)
{
messages.RemoveAt(messages.Count - 1);
messages.RemoveAt(0);
}
messages.Add(message.Message);
LastMessages[key] = messages;
}
else
{

Chargement…
Annuler
Enregistrer