Added SQL Regions and Fixed SQL Warps

This commit is contained in:
Twitchy 2011-07-08 23:36:53 +12:00
parent 6d531283fc
commit 16a90f3240
5 changed files with 271 additions and 101 deletions

View file

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