[READ-ONLY] Mirror of https://github.com/VibeDevelopers/atheme. Modified fork of atheme IRC Services www.vibetalk.net/
0

Configure Feed

Select the types of activity you want to include in your feed.

NS VERIFY: Reject with fault_nochange code when not awaiting verification This lets XMLRPC users differentiate between cases where the account exists but is not awaiting verification, and cases where the account exists but the supplied verification key is not valid.

Cases where the account does not exist already return fault_nosuch_target.

TwinUsers (Jun 28, 2026, 11:03 AM +0100) 32dc4611 17d91ed0

+4 -4
+4 -4
modules/nickserv/verify.c
··· 71 71 { 72 72 if (!(mu->flags & MU_WAITAUTH) || !(md = metadata_find(mu, "private:verify:register:key"))) 73 73 { 74 - command_fail(si, fault_badparams, _("\2%s\2 is not awaiting verification."), nick); 74 + command_fail(si, fault_nochange, _("\2%s\2 is not awaiting verification."), nick); 75 75 return; 76 76 } 77 77 ··· 100 100 { 101 101 if (!(md = metadata_find(mu, "private:verify:emailchg:key"))) 102 102 { 103 - command_fail(si, fault_badparams, _("\2%s\2 is not awaiting verification."), nick); 103 + command_fail(si, fault_nochange, _("\2%s\2 is not awaiting verification."), nick); 104 104 return; 105 105 } 106 106 ··· 174 174 { 175 175 if (!(mu->flags & MU_WAITAUTH) || !metadata_find(mu, "private:verify:register:key")) 176 176 { 177 - command_fail(si, fault_badparams, _("\2%s\2 is not awaiting verification."), nick); 177 + command_fail(si, fault_nochange, _("\2%s\2 is not awaiting verification."), nick); 178 178 return; 179 179 } 180 180 ··· 187 187 { 188 188 if (!metadata_find(mu, "private:verify:emailchg:key")) 189 189 { 190 - command_fail(si, fault_badparams, _("\2%s\2 is not awaiting verification."), nick); 190 + command_fail(si, fault_nochange, _("\2%s\2 is not awaiting verification."), nick); 191 191 return; 192 192 } 193 193