From: Eric S. Raymond Date: Thu, 27 Sep 2012 05:04:45 +0000 (-0400) Subject: Fix for deadly typo. X-Git-Tag: 1.0~43 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=becfe3d6be63dbaeb5d43e745554fb053f2bce2a;p=irker.git Fix for deadly typo. --- diff --git a/irker b/irker index 6eee393..efd7dab 100755 --- 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