Fix bans.

This commit is contained in:
Zack Piispanen 2013-10-01 18:38:39 -04:00
parent 78a96495a4
commit 931e65fd80
2 changed files with 7 additions and 7 deletions

View file

@ -142,7 +142,7 @@ namespace TShockAPI.DB
{
try
{
return database.Query("INSERT INTO Bans (IP, Name, UUID Reason, BanningUser, Date, Expiration) VALUES (@0, @1, @2, @3, @4, @5, @6);", ip, name, uuid, reason, banner, DateTime.UtcNow.ToString("s"), expiration) != 0;
return database.Query("INSERT INTO Bans (IP, Name, UUID, Reason, BanningUser, Date, Expiration) VALUES (@0, @1, @2, @3, @4, @5, @6);", ip, name, uuid, reason, banner, DateTime.UtcNow.ToString("s"), expiration) != 0;
}
catch (Exception ex)
{