-2005-03-19 Michael Poole <mdpoole@troilus.org>
+2005-03-20 Michael Poole <mdpoole@troilus.org>
+ (Thanks to Reed Loden for pointing these out.)
+
+ * ircd/channel.c: Fix typos in comments.
+
+ * ircd/m_create.c: Likewise.
+
+ * ircd/m_list.c: Likewise.
+
+ * ircd/m_names.c: Likewise.
+
+ * ircd/numnicks.c: Likewise.
+
+ * ircd/s_bsd.c: Likewise.
+
+2005-03-20 Michael Poole <mdpoole@troilus.org>
(Thanks to Reed Loden for pointing these out.)
* doc/Configure.help: Remove outdated file.
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/** @file
- * @brief Channel management and maintanance
+ * @brief Channel management and maintenance
* @version $Id$
*/
#include "config.h"
}
/*
- * Attach nicks, comma seperated " nick[:modes],nick[:modes],..."
+ * Attach nicks, comma separated " nick[:modes],nick[:modes],..."
*
* First find all opless members.
* Run 2 times over all members, to group the members with
if (!full)
{
- /* Attach all bans, space seperated " :%ban ban ..." */
+ /* Attach all bans, space separated " :%ban ban ..." */
for (first = 2; lp2; lp2 = lp2->next)
{
len = strlen(lp2->banstr);
* This version contributed by SeKs \<intru@info.polymtl.ca\>
*
* @param key Key to check
- * @param keyring Comma seperated list of keys
+ * @param keyring Comma separated list of keys
*
* @returns True if the key was found and matches, false otherwise.
*/
* @param strptr_i modified offset to the position to modify
* @param str1 The string to contatenate from.
* @param str2 The second string to contatenate from.
- * @param c Charactor to seperate the string from str1 and str2.
+ * @param c Charactor to separate the string from str1 and str2.
*/
static void
build_string(char *strptr, int *strptr_i, const char *str1,
joinbuf_init(&join, sptr, cptr, JOINBUF_TYPE_JOIN, 0, 0);
joinbuf_init(&create, sptr, cptr, JOINBUF_TYPE_CREATE, 0, chanTS);
- /* For each channel in the comma seperated list: */
+ /* For each channel in the comma separated list: */
for (name = ircd_strtok(&p, parv[1], ","); name;
name = ircd_strtok(&p, 0, ",")) {
badop = 0;
send_reply(sptr, RPL_LISTUSAGE,
"Usage: \002/QUOTE LIST\002 \037parameters\037");
send_reply(sptr, RPL_LISTUSAGE,
- "Where \037parameters\037 is a space or comma seperated "
+ "Where \037parameters\037 is a space or comma separated "
"list of one or more of:");
send_reply(sptr, RPL_LISTUSAGE,
" \002<\002\037max_users\037 ; Show all channels with less "
else if (*para == '0')
*para = '\0';
- s = strchr(para, ','); /* Recursively call m_names for each comma-seperated channel. Eww. */
+ s = strchr(para, ','); /* Recursively call m_names for each comma-separated channel. Eww. */
if (s) {
parv[1+showingdelayed] = ++s;
m_names(cptr, sptr, parc, parv);
else if (*para == '0')
*para = '\0';
- s = strchr(para, ','); /* Recursively call m_names for each comma-seperated channel. */
+ s = strchr(para, ','); /* Recursively call m_names for each comma-separated channel. */
if (s) {
parv[1] = ++s;
m_names(cptr, sptr, parc, parv);
*
* '\\0' : Because we use '\\0' as end of line.
*
- * ' ' : Because parse_*() uses this as parameter seperator.
+ * ' ' : Because parse_*() uses this as parameter separator.
*
* ':' : Because parse_server() uses this to detect if a prefix is a
* numeric or a name.
void close_connections(int close_stderr)
{
int i;
- close(0);
- close(1);
if (close_stderr)
+ {
+ close(0);
+ close(1);
close(2);
+ }
for (i = 3; i < MAXCONNECTIONS; ++i)
close(i);
}