Corrected compat ForceKick method signature

This commit is contained in:
stevenh 2012-02-28 10:57:05 +00:00
parent 18e52d1a25
commit dbda83b8e7

View file

@ -532,9 +532,9 @@ namespace TShockAPI
#if COMPAT_SIGS
[Obsolete("This method is for signature compatibility for external code only")]
public bool ForceKick(TSPlayer player, string reason)
public void ForceKick(TSPlayer player, string reason)
{
return Kick(player, reason, true, false, string.Empty);
Kick(player, reason, true, false, string.Empty);
}
#endif
/// <summary>
@ -801,4 +801,4 @@ namespace TShockAPI
return new string(returnstr);
}
}
}
}