Skip to content

Commit

Permalink
If ACC gets nick '*', don't do anything with it.
Browse files Browse the repository at this point in the history
  • Loading branch information
AstraLuma committed Nov 22, 2011
1 parent 5b504e9 commit df93db3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/nicktracker.py
Expand Up @@ -139,6 +139,7 @@ def parsedate(d):
acc_retry = False

def nickserv_acc(phenny, input):
global acc_retry
if input.sender != 'NickServ': return

print "ACC:", repr(input)
Expand All @@ -147,6 +148,8 @@ def nickserv_acc(phenny, input):
status = int(input.group(2))
detail = input.group(3) # None, 'offline', or 'not registered'

if nick == '*': return # Special nick

phenny.nicktracker._updatelive(None, nick, status, detail)
if status in (RECOGNIZED, LOGGEDIN):
query_info(phenny, nick)
Expand Down

0 comments on commit df93db3

Please sign in to comment.