Global spelling fix s/recieve/receive/ across codebase

This includes some user-visible messages and help files, so if anyone has
hooked them with /ON WINDOW their hooks will need updating.
This commit is contained in:
Kevin Easton 2015-10-04 09:06:38 +11:00
parent 726884b0b0
commit ce3fd79652
24 changed files with 41 additions and 39 deletions

View File

@ -795,10 +795,10 @@ RELCT
- Changes the topic to the last CTCP command issued - Changes the topic to the last CTCP command issued
RELD RELD
%gUsage%n: %W/%nreld %gUsage%n: %W/%nreld
- Displays the last DCC msg recieved. - Displays the last DCC msg received.
RELDT RELDT
%gUsage%n: %W/%nreldt %gUsage%n: %W/%nreldt
- Sets the topic to the last DCC message recieved. - Sets the topic to the last DCC message received.
RELI RELI
%gUsage%n: %W/%nreli %gUsage%n: %W/%nreli
- Shows the last invite message received - Shows the last invite message received

View File

@ -1,5 +1,7 @@
[Changes 1.2.2] [Changes 1.2.2]
* Fix spelling of "receive" in all client output. (caf)
* Ignore DCC ACCEPT if RESUME wasn't requested. (caf) * Ignore DCC ACCEPT if RESUME wasn't requested. (caf)
* Fix /KB so that it kicks-then-bans as intended (reported by profiler). (caf) * Fix /KB so that it kicks-then-bans as intended (reported by profiler). (caf)

View File

@ -237,7 +237,7 @@ Configure userlist_default[] = {
{ "Server op protection", "Values 0 for none, 1 for deop, 2 for announce only", "DEFAULT_HACKING", 0,INT_TYPE, edit_dir }, /* 0 1 2 */ { "Server op protection", "Values 0 for none, 1 for deop, 2 for announce only", "DEFAULT_HACKING", 0,INT_TYPE, edit_dir }, /* 0 1 2 */
{"Auto-Unban time", "", "DEFAULT_AUTO_UNBAN", 600, INT_TYPE, edit_dir }, {"Auto-Unban time", "", "DEFAULT_AUTO_UNBAN", 600, INT_TYPE, edit_dir },
{"Default Ban time", "", "DEFAULT_BANTIME", 600, INT_TYPE, edit_dir }, {"Default Ban time", "", "DEFAULT_BANTIME", 600, INT_TYPE, edit_dir },
{"Send ctcp msg", "Send notice when ctcp command recieved", "DEFAULT_SEND_CTCP_MSG", ON, BOOL_TYPE, NULL }, {"Send ctcp msg", "Send notice when ctcp command received", "DEFAULT_SEND_CTCP_MSG", ON, BOOL_TYPE, NULL },
{"Send Op msg", "Send notice when auto-op sent", "DEFAULT_SEND_OP_MSG", ON, BOOL_TYPE, NULL }, {"Send Op msg", "Send notice when auto-op sent", "DEFAULT_SEND_OP_MSG", ON, BOOL_TYPE, NULL },
{ NULL, NULL, NULL, 0, 0, NULL } { NULL, NULL, NULL, 0, 0, NULL }
}; };

View File

@ -823,7 +823,7 @@ NAP_COMM(cmd_error)
nap_error = 11; nap_error = 11;
} }
else else
nap_say("%s", cparse("Recieved error for [$0] $1-.", "%d %s", cmd, args ? args : empty_string)); nap_say("%s", cparse("Received error for [$0] $1-.", "%d %s", cmd, args ? args : empty_string));
} }
if (nap_error > 10) if (nap_error > 10)
{ {
@ -836,7 +836,7 @@ NAP_COMM(cmd_error)
NAP_COMM(cmd_unknown) NAP_COMM(cmd_unknown)
{ {
if (do_hook(MODULE_LIST, "NAP UNKNOWN %s", args)) if (do_hook(MODULE_LIST, "NAP UNKNOWN %s", args))
nap_say("%s", cparse("Recieved unknown [$0] $1-.", "%d %s", cmd, args)); nap_say("%s", cparse("Received unknown [$0] $1-.", "%d %s", cmd, args));
return 0; return 0;
} }

View File

@ -258,7 +258,7 @@ enum nap_Commands {
CMDS_CHANGEDATA = 703, CMDS_CHANGEDATA = 703,
CMDS_PING = 751, /* user */ CMDS_PING = 751, /* user */
CMDS_PONG = 752, /* <user> recieved from a ping*/ CMDS_PONG = 752, /* <user> received from a ping*/
/* <user> can also be used to send a pong */ /* <user> can also be used to send a pong */
/* 753 */ /* 753 */
@ -271,7 +271,7 @@ enum nap_Commands {
/* 821 822 823 826 827 */ /* 821 822 823 826 827 */
CMDS_SENDME = 824, CMDS_SENDME = 824,
CMDR_NICK = 825, CMDR_NICK = 825,
CMDS_NAME = 830, /* <channel> returns 825 with nick info, 830 is recieved on end of list */ CMDS_NAME = 830, /* <channel> returns 825 with nick info, 830 is received on end of list */
/* 831 */ /* 831 */

View File

@ -228,7 +228,7 @@ ABOUT
the people who have helped to make bitchx what it is. the people who have helped to make bitchx what it is.
ADDFORWARD [nick|#channel] ADDFORWARD [nick|#channel]
Forwards all msgs recieved to another nick or channel. Forwards all msgs received to another nick or channel.
ADDIDLE ADDIDLE

View File

@ -971,7 +971,7 @@ see strftime(3) for more options</code>
<code>to start a dcc chat with someone type <br /> <code>to start a dcc chat with someone type <br />
/dcc chat nick<br /> /dcc chat nick<br />
<br /> <br />
if you recieve a dcc chat request you have two options<br /> if you receive a dcc chat request you have two options<br />
you can type:<br /> you can type:<br />
/chat or /nochat<br /> /chat or /nochat<br />
-OR-<br /> -OR-<br />
@ -1163,8 +1163,8 @@ YANK_FROM_CUTBUFFER insert the last text you deleted<br />
/RELCR Usage: /relcr- Displays the last CTCP reply message received <br /> /RELCR Usage: /relcr- Displays the last CTCP reply message received <br />
/RELCRT Usage: /relcrt- Changes the topic to the last CTCP reply message <br /> /RELCRT Usage: /relcrt- Changes the topic to the last CTCP reply message <br />
/RELCT Usage: /relct- Changes the topic to the last CTCP command issued <br /> /RELCT Usage: /relct- Changes the topic to the last CTCP command issued <br />
/RELD Usage: /reld- Displays the last DCC msg recieved. <br /> /RELD Usage: /reld- Displays the last DCC msg received. <br />
/RELDT Usage: /reldt- Sets the topic to the last DCC message recieved. <br /> /RELDT Usage: /reldt- Sets the topic to the last DCC message received. <br />
/RELI Usage: /reli- Shows the last invite message received <br /> /RELI Usage: /reli- Shows the last invite message received <br />
/RELIT Usage: /relit- Changes the topic to the last invite message received <br /> /RELIT Usage: /relit- Changes the topic to the last invite message received <br />
/RELM Usage: /relm <nick|channel>- Redirects last received message to <nick|channel>If invoked with -l, the last 10 messages received are listed-l # will display message number # <br /> /RELM Usage: /relm <nick|channel>- Redirects last received message to <nick|channel>If invoked with -l, the last 10 messages received are listed-l # will display message number # <br />

View File

@ -94,7 +94,7 @@ Notes: It is possible to embed spaces into a word or pattern simply by
Function: $userhost() Function: $userhost()
Usage: $userhost() Usage: $userhost()
Returns: the userhost (if any) of the most previously recieved message. Returns: the userhost (if any) of the most previously received message.
Notes: $userhost() changes with every single line that appears on your Notes: $userhost() changes with every single line that appears on your
screen, so if you want to save it, you will need to assign it to screen, so if you want to save it, you will need to assign it to
a variable. a variable.
@ -754,13 +754,13 @@ Example: $winsize(1) returns 22
Function: $lastnotice() Function: $lastnotice()
Usage: $lastnotice(refnum) Usage: $lastnotice(refnum)
Returns: the last notice recieved or nothing if none Returns: the last notice received or nothing if none
Example: $lastnotice(10) returns Example: $lastnotice(10) returns
"10:19pm |By-Tor| ~by-tor@by-tor.com |By-tor| yo" "10:19pm |By-Tor| ~by-tor@by-tor.com |By-tor| yo"
Function: $lastmessage() Function: $lastmessage()
Usage: $lastmessage(refnum) Usage: $lastmessage(refnum)
Returns: the last message recieved or nothing if none Returns: the last message received or nothing if none
Example: $lastmessage(10) returns Example: $lastmessage(10) returns
10:19pm |By-Tor| ~by-tor@by-tor.com |By-tor| yo 10:19pm |By-Tor| ~by-tor@by-tor.com |By-tor| yo

View File

@ -380,7 +380,7 @@
New status line variables: New status line variables:
%D Show dcc percentage done on status line. %D Show dcc percentage done on status line.
%^ Show number of recieved messages while away on status line. %^ Show number of received messages while away on status line.

View File

@ -380,7 +380,7 @@
New status line variables: New status line variables:
%D Show dcc percentage done on status line. %D Show dcc percentage done on status line.
%^ Show number of recieved messages while away on status line. %^ Show number of received messages while away on status line.

View File

@ -68,7 +68,7 @@ this easier ie. CHANNEL_SYNCH_LIST.
flag is used in the same procedures as id. a VAR_PROC uses this as the flag is used in the same procedures as id. a VAR_PROC uses this as the
default INT/BOOL value for the variable. CTCP_PROC uses this to tell the default INT/BOOL value for the variable. CTCP_PROC uses this to tell the
client what todo when we recieve one of these ctcp's. CTCP_SPECIAL, client what todo when we receive one of these ctcp's. CTCP_SPECIAL,
CTCP_TELLUSER, CTCP_REPLY, CTCP_INLINE, CTCP_NOLIMIT are possible values. CTCP_TELLUSER, CTCP_REPLY, CTCP_INLINE, CTCP_NOLIMIT are possible values.
These can be or'd together as well. HOOK_PROC uses this as the "noise" These can be or'd together as well. HOOK_PROC uses this as the "noise"
of this event. of this event.

View File

@ -95,9 +95,9 @@ typedef struct
* used for redirect */ * used for redirect */
int lag; /* indication of lag from server CDE*/ int lag; /* indication of lag from server CDE*/
struct timeval lag_sent; /* time lag ping sent to server CDE */ struct timeval lag_sent; /* time lag ping sent to server CDE */
struct timeval lag_recv; /* time last lag ping reply was recieved */ struct timeval lag_recv; /* time last lag ping reply was received */
unsigned long lag_cookie; /* cookie to identify our lag check pings */ unsigned long lag_cookie; /* cookie to identify our lag check pings */
time_t last_msg; /* last mesg recieved from the server CDE */ time_t last_msg; /* last mesg received from the server CDE */
time_t last_sent; /* last mesg time sent */ time_t last_sent; /* last mesg time sent */
QueueSend *queue; /* queue of lines to send to a server */ QueueSend *queue; /* queue of lines to send to a server */

View File

@ -1219,7 +1219,7 @@ typedef struct _dcc_internal {
struct transfer_struct transfer_orders; /* structure for resending files */ struct transfer_struct transfer_orders; /* structure for resending files */
int file; /* file handle open file */ int file; /* file handle open file */
u_32int_t filesize; /* the filesize to get */ u_32int_t filesize; /* the filesize to get */
u_32int_t packets; /* number of blocksize packets recieved */ u_32int_t packets; /* number of blocksize packets received */
int eof; /* in EOF condition. */ int eof; /* in EOF condition. */
int blocksize; /* this dcc's blocksize */ int blocksize; /* this dcc's blocksize */
int dcc_fast; /* set if non-blocking used */ int dcc_fast; /* set if non-blocking used */

View File

@ -665,7 +665,7 @@ BUILT_IN_COMMAND(dumpcmd)
* string "void", then the balance of the remaining alias arguments are * string "void", then the balance of the remaining alias arguments are
* discarded and $* will expand to the false value. If neither "..." nor * discarded and $* will expand to the false value. If neither "..." nor
* "void" are provided in the argument list, then that last variable in the * "void" are provided in the argument list, then that last variable in the
* list will recieve all of the remaining arguments left at its position. * list will receive all of the remaining arguments left at its position.
* *
* Examples: * Examples:
* *

View File

@ -1014,7 +1014,7 @@ const char *my_host;
/* /*
* If we recieve a CTCP DCC REJECT in a notice, then we want to remove * If we receive a CTCP DCC REJECT in a notice, then we want to remove
* the offending DCC request * the offending DCC request
*/ */
CTCP_HANDLER(do_dcc_reply) CTCP_HANDLER(do_dcc_reply)

View File

@ -1223,7 +1223,7 @@ UserList *ul = NULL;
#endif #endif
else else
{ {
put_it("%s", convert_output_format("$G %RDCC%n Unknown DCC $0 ($1) recieved from $2", "%s %s %s", type, description, nick)); put_it("%s", convert_output_format("$G %RDCC%n Unknown DCC $0 ($1) received from $2", "%s %s %s", type, description, nick));
reset_display_target(); reset_display_target();
return; return;
} }
@ -1235,7 +1235,7 @@ UserList *ul = NULL;
if ((s->flags & DCC_ACTIVE)) if ((s->flags & DCC_ACTIVE))
{ {
/* collision. */ /* collision. */
put_it("%s", convert_output_format("$G %RDCC%n Recieved DCC $0 request from $1 while previous session active", "%s %s", type, nick)); put_it("%s", convert_output_format("$G %RDCC%n Received DCC $0 request from $1 while previous session active", "%s %s", type, nick));
reset_display_target(); reset_display_target();
return; return;
} }
@ -2902,7 +2902,7 @@ DCC_int *n;
} }
} }
/* Looks for the dcc transfer that is "current" (last recieved data) /* Looks for the dcc transfer that is "current" (last received data)
* and returns information for it * and returns information for it
*/ */
extern char *DCC_get_current_transfer (void) extern char *DCC_get_current_transfer (void)
@ -3040,7 +3040,7 @@ int dcc_exempt_save(FILE *fptr)
*/ */
static void output_reject_ctcp (UserhostItem *stuff, char *nick, char *args) static void output_reject_ctcp (UserhostItem *stuff, char *nick, char *args)
{ {
char *nickname_recieved; char *nickname_received;
char *type; char *type;
char *description; char *description;
@ -3052,10 +3052,10 @@ static void output_reject_ctcp (UserhostItem *stuff, char *nick, char *args)
next_arg(args, &args); next_arg(args, &args);
type = next_arg(args, &args); type = next_arg(args, &args);
description = next_arg(args, &args); description = next_arg(args, &args);
nickname_recieved = stuff->nick; nickname_received = stuff->nick;
if (nickname_recieved && *nickname_recieved) if (nickname_received && *nickname_received)
send_ctcp(CTCP_NOTICE, nickname_recieved, CTCP_DCC, send_ctcp(CTCP_NOTICE, nickname_received, CTCP_DCC,
"REJECT %s %s", type, description); "REJECT %s %s", type, description);
} }

View File

@ -892,7 +892,7 @@ static void handle_filedesc (Process *proc, int *fd, int hook_nonl, int hook_nl
* has exited, or the client has attempted to fork() off a helper process * has exited, or the client has attempted to fork() off a helper process
* (such as wserv or gzip) and that process has choked on itself. * (such as wserv or gzip) and that process has choked on itself.
* *
* When SIGCHLD is recieved, the global variable 'dead_children_processes' * When SIGCHLD is received, the global variable 'dead_children_processes'
* is incremented. When this function is called, we go through and call * is incremented. When this function is called, we go through and call
* waitpid() on all of the outstanding zombies, conditionally stopping when * waitpid() on all of the outstanding zombies, conditionally stopping when
* we reach a specific wanted sub-process. * we reach a specific wanted sub-process.
@ -1076,7 +1076,7 @@ void add_process_wait (int proc_index, const char *cmd)
* the client. Either stage may happen first, but until both are completed * the client. Either stage may happen first, but until both are completed
* we keep the process around. * we keep the process around.
* *
* 1) We must recieve an EOF on both stdin and stderr, or we must * 1) We must receive an EOF on both stdin and stderr, or we must
* have closed stdin and stderr already (handled by do_processes) * have closed stdin and stderr already (handled by do_processes)
* 2) The process must have died (handled by get_child_exit) * 2) The process must have died (handled by get_child_exit)
* *
@ -1308,7 +1308,7 @@ void kill_process (int kill_index, int sig)
* condition (such as a swap in). You do not know when the process will * condition (such as a swap in). You do not know when the process will
* actually die. It could be 15 ns, it could be 15 minutes, it could be * actually die. It could be 15 ns, it could be 15 minutes, it could be
* 15 years. Its also useful to note that we, as the parent process, will not * 15 years. Its also useful to note that we, as the parent process, will not
* recieve the SIGCHLD signal until after the child dies. That means it is * receive the SIGCHLD signal until after the child dies. That means it is
* pointless to try to reap any children processes here. The main io() * pointless to try to reap any children processes here. The main io()
* loop handles reaping children (by calling get_child_exit()). * loop handles reaping children (by calling get_child_exit()).
*/ */

View File

@ -1600,7 +1600,7 @@ BUILT_IN_FUNCTION(function_rmatch, input)
/* /*
* Usage: $userhost() * Usage: $userhost()
* Returns: the userhost (if any) of the most previously recieved message. * Returns: the userhost (if any) of the most previously received message.
* Caveat: $userhost() changes with every single line that appears on * Caveat: $userhost() changes with every single line that appears on
* your screen, so if you want to save it, you will need to assign * your screen, so if you want to save it, you will need to assign
* it to a variable. * it to a variable.

View File

@ -785,7 +785,7 @@ extern char *BX_one_to_another (const char *what)
/* /*
* It is possible for a race condition to exist; such that select() * It is possible for a race condition to exist; such that select()
* indicates that a listen()ing socket is able to recieve a new connection * indicates that a listen()ing socket is able to receive a new connection
* and that a later accept() call will still block because the connection * and that a later accept() call will still block because the connection
* has been closed in the interim. This wrapper for accept() attempts to * has been closed in the interim. This wrapper for accept() attempts to
* defeat this by making the accept() call nonblocking. * defeat this by making the accept() call nonblocking.

View File

@ -738,7 +738,7 @@ void parse_notice(char *from, char **Args)
return; return;
if (!*to) if (!*to)
{ {
put_it("*** obsolete notice recieved. [%s]", line+1); put_it("*** obsolete notice received. [%s]", line+1);
return; return;
} }

View File

@ -127,7 +127,7 @@ register BanList *eban = NULL;
void fake (void) void fake (void)
{ {
bitchsay("--- Fake Message recieved!!! ---"); bitchsay("--- Fake Message received!!! ---");
return; return;
} }

View File

@ -620,7 +620,7 @@ void do_server (fd_set *rd, fd_set *wr)
/* server_lag_reply() /* server_lag_reply()
* *
* Called when a reply to a lag check ping has been recieved. * Called when a reply to a lag check ping has been received.
*/ */
void server_lag_reply(int s, unsigned long cookie, struct timeval lag_recv, struct timeval lag_sent) void server_lag_reply(int s, unsigned long cookie, struct timeval lag_recv, struct timeval lag_sent)
{ {

View File

@ -438,7 +438,7 @@ do
if (!new_w) if (!new_w)
break; break;
/* /*
* We have recieved a reply to this query -- its too late to * We have received a reply to this query -- its too late to
* piggyback it now! * piggyback it now!
*/ */
new_w->dirty = 1; new_w->dirty = 1;

View File

@ -3752,7 +3752,7 @@ Window *window_query (Window *window, char **args, char *usage)
else if (!strcmp(nick, ",")) else if (!strcmp(nick, ","))
{ {
if (!(nick = get_server_recv_nick(window->server))) if (!(nick = get_server_recv_nick(window->server)))
say("You have not recieved a message yet"); say("You have not received a message yet");
} }
else if (!strcmp(nick, "*") && else if (!strcmp(nick, "*") &&
!(nick = get_current_channel_by_refnum(0))) !(nick = get_current_channel_by_refnum(0)))