From bda1d9cd5646562c5cf5bb9991367ef696e1e5a6 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Mon, 11 Aug 2008 08:01:03 +0000
Subject: [PATCH] fix typo. Now caps are correctly reset when a contact goes
 offline. Fixes #4181

---
 src/common/caps.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/caps.py b/src/common/caps.py
index 7631b2f822..ea29abbd74 100644
--- a/src/common/caps.py
+++ b/src/common/caps.py
@@ -238,7 +238,7 @@ class ConnectionCaps(object):
 		if not caps:
 			contact.caps_node = None
 			contact.caps_hash = None
-			contact.hash_method = None
+			contact.caps_hash_method = None
 			return
 
 		hash_method, node, hash = caps['hash'], caps['node'], caps['ver']
-- 
GitLab