Dereference the right object.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 4 Oct 2012 19:04:20 +0000 (15:04 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 4 Oct 2012 19:04:20 +0000 (15:04 -0400)
irkerd

diff --git a/irkerd b/irkerd
index 5a792116524af7935df2722f4d03eed63d17bb2a..6c8e56cb6e2ad70fbcc5a52bd09d19d8d22fa728 100755 (executable)
--- a/irkerd
+++ b/irkerd
@@ -245,8 +245,8 @@ class Connection:
                     self.queue.task_done()
         except:
             (exc_type, exc_value, exc_traceback) = sys.exc_info()
-            self.logerr("exception %s in thread for %s" % \
-                        (exc_type, self.servername))
+            self.irker.logerr("exception %s in thread for %s" % \
+                              (exc_type, self.servername))
     def live(self):
         "Should this connection not be scavenged?"
         return self.status != "expired"