From c922a61838918f56782be06d3037f0e6013812bd Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Wed, 21 Oct 2020 12:43:48 +0100 Subject: [PATCH] fix table name --- .../main/groovy/com/muwire/core/hostcache/H2HostCache.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/groovy/com/muwire/core/hostcache/H2HostCache.groovy b/core/src/main/groovy/com/muwire/core/hostcache/H2HostCache.groovy index 7cd7e1cc..ed419e75 100644 --- a/core/src/main/groovy/com/muwire/core/hostcache/H2HostCache.groovy +++ b/core/src/main/groovy/com/muwire/core/hostcache/H2HostCache.groovy @@ -164,7 +164,7 @@ class H2HostCache extends HostCache { profiles.put(d, new HostMCProfile(newProfile)) log.fine("profile updated ${d.toBase32()} ${profiles.get(d)}") - sql.execute("delete from HOST_PROFILES where DESTINATION=${d.toBase64()}") + sql.execute("delete from HOST_ATTEMPTS where DESTINATION=${d.toBase64()}") } @Override