summaryrefslogtreecommitdiff
path: root/autoexec.py
diff options
context:
space:
mode:
Diffstat (limited to 'autoexec.py')
-rw-r--r--autoexec.py2
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: