Added SQL Regions and Fixed SQL Warps
This commit is contained in:
parent
6d531283fc
commit
16a90f3240
5 changed files with 271 additions and 101 deletions
|
|
@ -93,7 +93,7 @@ namespace TShockAPI.DB
|
|||
{
|
||||
using (var com = database.CreateCommand())
|
||||
{
|
||||
com.CommandText = "INSERT INTO Bans (IP, Name, Reason) VALUES (@ip, @name, @reason)";
|
||||
com.CommandText = "INSERT INTO Bans (IP, Name, Reason) VALUES (@ip, @name, @reason);";
|
||||
com.AddParameter("@ip", ip);
|
||||
com.AddParameter("@name", name);
|
||||
com.AddParameter("@reason", reason);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue