Merge pull request #275 from Lycaonj/general-devel

General devel
This commit is contained in:
Lucas Nicodemus 2011-07-30 20:41:37 -07:00
commit 98711bd05c
2 changed files with 10 additions and 7 deletions

View file

@ -1,4 +1,4 @@
/*
/*
TShock, a server mod for Terraria
Copyright (C) 2011 The TShock Team
@ -125,7 +125,7 @@ namespace TShockAPI.DB
{
try
{
return database.Query("DELETE FROM Bans WHERE IP=@ip", ip) != 0;
return database.Query("DELETE FROM Bans WHERE IP=@0", ip) != 0;
}
catch (Exception ex)
{