Fix for deadly typo.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 27 Sep 2012 05:04:45 +0000 (01:04 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 27 Sep 2012 05:04:45 +0000 (01:04 -0400)
irker

diff --git a/irker b/irker
index 6eee39324488ffb649b2d73aa63a615209da45f1..efd7dab93e45e5fab143f246bd40775a90367ba1 100755 (executable)
--- a/irker
+++ b/irker
@@ -193,7 +193,7 @@ class Connection:
             for already in self.channels_joined:
                 if already[0] == channel[0]:
                     match_count += 1
-            return match_count < self.channel_limits.get(channel[0], CHANNEL+MAX)
+            return match_count < self.channel_limits.get(channel[0], CHANNEL_MAX)
         else:
             return len(self.channels_joined) < CHANNEL_MAX