Fix compat sigs ban method.
This commit is contained in:
parent
23e06c803c
commit
df5eb940bd
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue