void OnDelete(AccountDeleteEventArgs e) { db.Query("DELETE FROM `onlineannounce` WHERE userid=@0;", e.User.ID.ToString()); TShock.Log.Info("{0} has been removed from the onlineannounce database.", e.User.Name); }
public void OnAccDelete(AccountDeleteEventArgs args) { db.Query("DELETE FROM Permabuffs WHERE UserID=@0;", args.User.ID); }