瀏覽代碼

Changed default ban host style.

tags/3.0.5
Teknikode 4 年之前
父節點
當前提交
0e4182ea54
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      Modules/Moderation/Moderation.cs

+ 2
- 2
Modules/Moderation/Moderation.cs 查看文件

@@ -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)
{

Loading…
取消
儲存