Remove some unused code
This commit is contained in:
parent
4011ee5bc9
commit
dd86888c2f
1 changed files with 0 additions and 2 deletions
|
|
@ -980,8 +980,6 @@ namespace TShockAPI
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
string duration = DateTime.TryParse(ban.Expiration, out exp) ? String.Format("until {0}", exp.ToString("G")) : "forever";
|
|
||||||
player.Disconnect(String.Format("Banned {0}: {1}", duration, ban.Reason));
|
|
||||||
args.Handled = true;
|
args.Handled = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue