Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv24535/src
Modified Files:
Tag: rel-1_0
nickserv.c
Log Message:
improve help message after allowauth
Index: nickserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/nickserv.c,v
retrieving revision 1.138.2.45
retrieving revision 1.138.2.46
diff -C2 -r1.138.2.45 -r1.138.2.46
*** nickserv.c 2001/09/04 18:37:05 1.138.2.45
--- nickserv.c 2001/09/05 04:10:02 1.138.2.46
***************
*** 125,129 ****
#define NSMSG_HANDLE_SUSPENDED "Your $N handle has been suspended."
#define NSMSG_AUTH_SUCCESS "I recognize you."
! #define NSMSG_AUTH_ALLOWED "User $b%s$b may now authenticate to handle $b%s$b."
#define NSMSG_AUTH_ALLOWED_MSG "You may now authenticate to handle $b%s$b."
#define NSMSG_AUTH_NORMAL_ONLY "User $b%s$b may now only authenticate to handles with matching hostmasks."
--- 125,129 ----
#define NSMSG_HANDLE_SUSPENDED "Your $N handle has been suspended."
#define NSMSG_AUTH_SUCCESS "I recognize you."
! #define NSMSG_AUTH_ALLOWED "User $b%s$b may now authenticate to handle $b%s$b by typing $b/msg $n auth %s password$b (using your password)."
#define NSMSG_AUTH_ALLOWED_MSG "You may now authenticate to handle $b%s$b."
#define NSMSG_AUTH_NORMAL_ONLY "User $b%s$b may now only authenticate to handles with matching hostmasks."
***************
*** 1031,1035 ****
dict_insert(nickserv_allow_auth_dict, strdup(target->nick), hi);
nickserv_notice(user, NSMSG_AUTH_ALLOWED, target->nick, hi->handle);
! nickserv_notice(target, NSMSG_AUTH_ALLOWED_MSG, hi->handle);
log(NS_LOG, LOG_INFO, "%s allowed "IDENT_FORMAT" to authenticate to handle '%s'.\n", user->handle_info->handle, IDENT_DATA(target), hi->handle);
} else {
--- 1031,1035 ----
dict_insert(nickserv_allow_auth_dict, strdup(target->nick), hi);
nickserv_notice(user, NSMSG_AUTH_ALLOWED, target->nick, hi->handle);
! nickserv_notice(target, NSMSG_AUTH_ALLOWED_MSG, hi->handle, hi->handle);
log(NS_LOG, LOG_INFO, "%s allowed "IDENT_FORMAT" to authenticate to handle '%s'.\n", user->handle_info->handle, IDENT_DATA(target), hi->handle);
} else {
|