Ver código fonte

Changed default ban host style.

tags/3.0.5
Teknikode 4 anos atrás
pai
commit
0e4182ea54
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      Modules/Moderation/Moderation.cs

+ 2
- 2
Modules/Moderation/Moderation.cs Ver arquivo

@@ -256,11 +256,11 @@ namespace Combot.Modules.Plugins
Nick foundNick = foundChannel.Nicks.Find(nick => nick.Nickname == banMask);
if (foundNick.Host != string.Empty && foundNick.Username != null)
{
banMask = string.Format("{0}!*{1}@{2}", foundNick.Nickname, foundNick.Username, foundNick.Host);
banMask = string.Format("*!*{0}@{1}", foundNick.Username, foundNick.Host);
}
else if (foundNick.Host != string.Empty)
{
banMask = string.Format("{0}!*@{1}", foundNick.Nickname, foundNick.Host);
banMask = string.Format("*!*@{0}", foundNick.Host);
}
else if (foundNick.Username != string.Empty)
{

Carregando…
Cancelar
Salvar