Fix compat sigs ban method.

This commit is contained in:
Zack Piispanen 2013-10-01 19:02:21 -04:00
parent 23e06c803c
commit df5eb940bd

View file

@ -135,7 +135,7 @@ namespace TShockAPI.DB
[Obsolete("This method is for signature compatibility for external code only")]
public bool AddBan(string ip, string name, string reason)
{
return AddBan(ip, name, reason, false, "", "");
return AddBan(ip, name, "", reason, false, "", "");
}
#endif
public bool AddBan(string ip, string name = "", string uuid = "", string reason = "", bool exceptions = false, string banner = "", string expiration = "")