diff options
author | Brian Sherson <caretaker82@euclid.shersonb.net> | 2013-09-01 22:12:55 -0700 |
---|---|---|
committer | Brian Sherson <caretaker82@euclid.shersonb.net> | 2013-09-01 22:12:55 -0700 |
commit | 97d3076e651c36dbcfe4fe478762e63e83a3848b (patch) | |
tree | 9baa0d06dc4da2c89a3a2f9aadd9b86fcc764b70 /autoexec.py | |
parent | 2011bf9bbd042bba4a649f9e52a52c1149ff09c8 (diff) |
Just another update
Diffstat (limited to 'autoexec.py')
-rw-r--r-- | autoexec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoexec.py b/autoexec.py index 7953267..a1fa52b 100644 --- a/autoexec.py +++ b/autoexec.py @@ -76,7 +76,7 @@ class NickServ(object): return (origin, ident, host, cmd, target, params, extinfo) = data label, wallet, autojoin = self.networks[IRC] - if target == IRC.identity.nick and origin == "NickServ" and re.match("This nickname is registered and protected.", extinfo) and wallet and "%s/NickServ/%s"%(label, target.lower()) in wallet.keys(): + if target == IRC.identity.nick and origin == "NickServ" and re.match("This nickname is registered( and protected)?.", extinfo) and wallet and "%s/NickServ/%s"%(label, target.lower()) in wallet.keys(): IRC.user("NickServ").msg("identify %s" % wallet[ "%s/NickServ/%s"%(label, target.lower())]) if cmd == "900" and autojoin: |