From 84005ecc0dd9fb7309388816c804036deee7d3d0 Mon Sep 17 00:00:00 2001 From: danw Date: Tue, 25 Aug 1998 15:58:18 +0000 Subject: [PATCH] rewrite FORCED_USERNAME message since if we're returning it from SWRD, (1) we won't have the user's full name and account class available, and (2) the user will already have seen FOUND, so it's weird to say "I've found you in the database" a second time. --- reg_svr/errors | 2 +- reg_svr/reg_svr.pc | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/reg_svr/errors b/reg_svr/errors index ddb2a470..b2869371 100644 --- a/reg_svr/errors +++ b/reg_svr/errors @@ -48,7 +48,7 @@ Office in N42-105A, x3-1325. # 9 FOUND OK. I've found you in the database: %s, account class %s. # 10 FORCED_USERNAME -OK. I've found you in the database: %s, account class %s. +OK. I've verified your identity. The username "%s" has previously been reserved for this account. # 11 BAD_SIX_WORDS diff --git a/reg_svr/reg_svr.pc b/reg_svr/reg_svr.pc index bbfcdad1..b53aef17 100644 --- a/reg_svr/reg_svr.pc +++ b/reg_svr/reg_svr.pc @@ -420,8 +420,7 @@ void RIFO(reg_client *rc, int argc, char **argv) else if (!rc->username) reply(rc, FOUND, "GETL", "c", rc->suggestions, fullname, class); else - reply(rc, FORCED_USERNAME, "GETP", "c", NULL, fullname, class, - rc->username); + reply(rc, FORCED_USERNAME, "GETP", "c", NULL, rc->username); } void SWRD(reg_client *rc, int argc, char **argv) -- 2.45.2