Improve authentication detection

Add a negative check in the event we are authenticated and registered,
but not confirmed, as this fools other checks.
This commit is contained in:
2020-10-31 16:49:37 +00:00
parent eaeb4b72c2
commit d60d89dbf6
6 changed files with 125 additions and 31 deletions

View File

@@ -3,14 +3,21 @@
"register": true,
"entity": "NickServ",
"email": "{nickname}@domain.com",
"register": "REGISTER {password} {email}",
"registermsg": "REGISTER {password} {email}",
"confirm": "CONFIRM {token}",
"check": true,
"ping": true,
"pingmsg": "STATUS {nickname}",
"negative": true,
"pingmsg": "STATUS",
"negativemsg": "INFO {nickname}",
"checktype": "mode",
"checkmode": "r",
"checkmsg": "Password accepted - you are now recognized.",
"checkmsg2": "You are logged in as"
"checkmsg2": "You are logged in as",
"checknegativemsg": "has \u0002NOT COMPLETED\u0002 registration verification",
"checkendnegative": "End of Info"
},
"freenode": {
"confirm": "VERIFY REGISTER {nickname} {token}"
}
}

View File

@@ -31,5 +31,6 @@
"reg": "reg <network> <num>",
"confirm": "confirm <network> <num> <token>",
"pending": "pending [<network>]",
"authcheck": "authcheck [<network>]"
"authcheck": "authcheck [<network>]",
"recheckauth": "recheckauth [<network>]"
}