Browse Source

bugfix in afc_status

tags/v0.1
Ben Kurtovic 13 years ago
parent
commit
e00202fccf
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      irc/commands/afc_status.py

+ 5
- 2
irc/commands/afc_status.py View File

@@ -21,8 +21,11 @@ class AFCStatus(BaseCommand):
data.command == "count" or data.command == "num" or
data.command == "number" or data.command == "afc_status"):
return True
if data.line[1] == "JOIN" and data.chan in AFC_CHANS:
return True
try:
if data.line[1] == "JOIN" and data.chan in AFC_CHANS:
return True
except IndexError:
pass
return False

def process(self, data):


Loading…
Cancel
Save