From 2678f87a51d35a201aa2a3ee93513b457575d04a Mon Sep 17 00:00:00 2001 From: "B.Greenham" Date: Mon, 22 Feb 2010 23:10:36 -0500 Subject: [PATCH] Fix some indentation I messed up while adding umode +C. --- include/client.h | 2 +- include/numeric.h | 2 +- src/messages.tab | 2 +- src/newconf.c | 2 +- src/s_user.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/client.h b/include/client.h index 3240b9f..d866585 100644 --- a/include/client.h +++ b/include/client.h @@ -421,7 +421,7 @@ struct ListClient #define UMODE_DEAF 0x0080 #define UMODE_NOFORWARD 0x0100 /* don't forward */ #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 */ /* user information flags, only settable by remote mode or local oper */ diff --git a/include/numeric.h b/include/numeric.h index f4487f9..a099b75 100644 --- a/include/numeric.h +++ b/include/numeric.h @@ -298,7 +298,7 @@ extern const char *form_str(int); #define ERR_NOOPERHOST 491 -#define ERR_NOCTCP 492 +#define ERR_NOCTCP 492 #define ERR_UMODEUNKNOWNFLAG 501 #define ERR_USERSDONTMATCH 502 diff --git a/src/messages.tab b/src/messages.tab index 2561559..a9ba1ea 100644 --- a/src/messages.tab +++ b/src/messages.tab @@ -513,7 +513,7 @@ static const char * replies[] = { /* 489 ERR_VOICENEEDED */ ":%s 489 %s %s :You're neither voiced nor channel operator", /* 490 */ NULL, /* 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, /* 494 */ NULL, /* 495 */ NULL, diff --git a/src/newconf.c b/src/newconf.c index a72d96d..b92778a 100644 --- a/src/newconf.c +++ b/src/newconf.c @@ -303,7 +303,7 @@ static struct mode_table umode_table[] = { {"servnotice", UMODE_SERVNOTICE}, {"wallop", UMODE_WALLOP }, {"operwall", UMODE_OPERWALL }, - {"noctcp", UMODE_NOCTCP }, + {"noctcp", UMODE_NOCTCP }, {"noinvite", UMODE_NOINVITE }, {NULL, 0} }; diff --git a/src/s_user.c b/src/s_user.c index 1f81400..3ca5f8e 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -69,7 +69,7 @@ int user_modes[256] = { 0, /* @ */ 0, /* A */ 0, /* B */ - UMODE_NOCTCP, /* C */ + UMODE_NOCTCP, /* C */ UMODE_DEAF, /* D */ 0, /* E */ 0, /* F */