Fix fatal typo.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 1 Oct 2012 04:42:45 +0000 (00:42 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 1 Oct 2012 04:42:45 +0000 (00:42 -0400)
irkerd

diff --git a/irkerd b/irkerd
index a89d78cc3fe00c9e6374a1358eb5e3d8cb8e8891..d0bc8ff1273ffb4beb29a29ff9a3367aa3493fae 100755 (executable)
--- a/irkerd
+++ b/irkerd
@@ -242,7 +242,7 @@ class Target():
         self.port = int(ircport)
     def valid(self):
         "Both components must be present for a valid target."
-        self.servername and self.channel
+        return self.servername and self.channel
     def server(self):
         "Return a hashable tuple representing the destination server."
         return (self.servername, self.port)