Fix some indentation I messed up while adding umode +C.

This commit is contained in:
B.Greenham 2010-02-22 23:10:36 -05:00
parent 854f6bd0af
commit 2678f87a51
5 changed files with 5 additions and 5 deletions

View File

@ -421,7 +421,7 @@ struct ListClient
#define UMODE_DEAF 0x0080 #define UMODE_DEAF 0x0080
#define UMODE_NOFORWARD 0x0100 /* don't forward */ #define UMODE_NOFORWARD 0x0100 /* don't forward */
#define UMODE_REGONLYMSG 0x0200 /* only allow logged in users to msg */ #define UMODE_REGONLYMSG 0x0200 /* only allow logged in users to msg */
#define UMODE_NOCTCP 0x0400 /* block CTCPs except for ACTION */ #define UMODE_NOCTCP 0x0400 /* block CTCPs except for ACTION */
#define UMODE_NOINVITE 0x0800 /* block invites */ #define UMODE_NOINVITE 0x0800 /* block invites */
/* user information flags, only settable by remote mode or local oper */ /* user information flags, only settable by remote mode or local oper */

View File

@ -298,7 +298,7 @@ extern const char *form_str(int);
#define ERR_NOOPERHOST 491 #define ERR_NOOPERHOST 491
#define ERR_NOCTCP 492 #define ERR_NOCTCP 492
#define ERR_UMODEUNKNOWNFLAG 501 #define ERR_UMODEUNKNOWNFLAG 501
#define ERR_USERSDONTMATCH 502 #define ERR_USERSDONTMATCH 502

View File

@ -513,7 +513,7 @@ static const char * replies[] = {
/* 489 ERR_VOICENEEDED */ ":%s 489 %s %s :You're neither voiced nor channel operator", /* 489 ERR_VOICENEEDED */ ":%s 489 %s %s :You're neither voiced nor channel operator",
/* 490 */ NULL, /* 490 */ NULL,
/* 491 ERR_NOOPERHOST, */ ":No appropriate operator blocks were found for your host", /* 491 ERR_NOOPERHOST, */ ":No appropriate operator blocks were found for your host",
/* 492 ERR_NOCTCP */ ":Can't send CTCP to %s (+C set)", /* 492 ERR_NOCTCP */ ":Can't send CTCP to %s (+C set)",
/* 493 */ NULL, /* 493 */ NULL,
/* 494 */ NULL, /* 494 */ NULL,
/* 495 */ NULL, /* 495 */ NULL,

View File

@ -303,7 +303,7 @@ static struct mode_table umode_table[] = {
{"servnotice", UMODE_SERVNOTICE}, {"servnotice", UMODE_SERVNOTICE},
{"wallop", UMODE_WALLOP }, {"wallop", UMODE_WALLOP },
{"operwall", UMODE_OPERWALL }, {"operwall", UMODE_OPERWALL },
{"noctcp", UMODE_NOCTCP }, {"noctcp", UMODE_NOCTCP },
{"noinvite", UMODE_NOINVITE }, {"noinvite", UMODE_NOINVITE },
{NULL, 0} {NULL, 0}
}; };

View File

@ -69,7 +69,7 @@ int user_modes[256] = {
0, /* @ */ 0, /* @ */
0, /* A */ 0, /* A */
0, /* B */ 0, /* B */
UMODE_NOCTCP, /* C */ UMODE_NOCTCP, /* C */
UMODE_DEAF, /* D */ UMODE_DEAF, /* D */
0, /* E */ 0, /* E */
0, /* F */ 0, /* F */