From 297c7db40876d8300e0efc7d9ce7e25ffc304dbd Mon Sep 17 00:00:00 2001 From: jilles Date: Thu, 24 May 2007 08:10:06 -0700 Subject: [PATCH] [svn] Move sno_channeljoin to unsupported, due to the privacy issue and the fact that any oper with admin or hidden_admin can load extensions. --- ChangeLog | 10 ++++++++++ doc/example.conf | 3 +-- doc/reference.conf | 4 +--- extensions/Makefile.in | 3 +-- include/serno.h | 2 +- unsupported/Makefile.in | 5 +++-- {extensions => unsupported}/sno_channeljoin.c | 4 ++-- 7 files changed, 19 insertions(+), 12 deletions(-) rename {extensions => unsupported}/sno_channeljoin.c (88%) diff --git a/ChangeLog b/ChangeLog index 1a74ed2..d2bd460 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +nenolod 2007/05/24 04:28:36 UTC (20070524-3476) + Log: + - createoperonly: like createauthonly, but checks opered status instead of authed status + + + Changes: Modified: + +41 -0 trunk/extensions/Makefile.in (File Modified) + + - trunk/extensions/createoperonly.c (File Added) + + nenolod 2007/05/24 04:16:02 UTC (20070524-3474) Log: - sno_channeljoin: implements snomask +j and sends channel join notices there from local users diff --git a/doc/example.conf b/doc/example.conf index 454f966..b1843c5 100755 --- a/doc/example.conf +++ b/doc/example.conf @@ -4,7 +4,7 @@ * Copyright (C) 2002-2005 ircd-ratbox development team * Copyright (C) 2005-2006 charybdis development team * - * $Id: example.conf 3474 2007-05-24 04:16:02Z nenolod $ + * $Id: example.conf 3478 2007-05-24 15:10:06Z jilles $ * * See reference.conf for more information. */ @@ -23,7 +23,6 @@ #loadmodule "extensions/m_findforwards.so"; #loadmodule "extensions/m_identify.so"; #loadmodule "extensions/no_oper_invis.so"; -#loadmodule "extensions/sno_channeljoin.so"; #loadmodule "extensions/sno_farconnect.so"; #loadmodule "extensions/sno_globalkline.so"; #loadmodule "extensions/sno_globaloper.so"; diff --git a/doc/reference.conf b/doc/reference.conf index ff91821..70acd4f 100755 --- a/doc/reference.conf +++ b/doc/reference.conf @@ -6,7 +6,7 @@ * * Written by ejb, wcampbel, db, leeh and others * - * $Id: reference.conf 3474 2007-05-24 04:16:02Z nenolod $ + * $Id: reference.conf 3478 2007-05-24 15:10:06Z jilles $ */ /* IMPORTANT NOTES: @@ -54,7 +54,6 @@ * Find channel forwards -- m_findforwards.so * /identify support -- m_identify.so * Opers cannot be invisible (umode +i) -- no_oper_invis.so - * Channel join notices (snomask +j) -- sno_channeljoin.so * Far connection notices (snomask +F) -- sno_farconnect.so * Remote k/d/g/x line active notices -- sno_globalkline.so * Remote oper up notices -- sno_globaloper.so @@ -73,7 +72,6 @@ #loadmodule "extensions/m_findforwards.so"; #loadmodule "extensions/m_identify.so"; #loadmodule "extensions/no_oper_invis.so"; -#loadmodule "extensions/sno_channeljoin.so"; #loadmodule "extensions/sno_farconnect.so"; #loadmodule "extensions/sno_globalkline.so"; #loadmodule "extensions/sno_globaloper.so"; diff --git a/extensions/Makefile.in b/extensions/Makefile.in index 90de382..20220cf 100644 --- a/extensions/Makefile.in +++ b/extensions/Makefile.in @@ -1,7 +1,7 @@ # # Makefile.in for ircd/contrib # -# $Id: Makefile.in 3476 2007-05-24 04:28:36Z nenolod $ +# $Id: Makefile.in 3478 2007-05-24 15:10:06Z jilles $ # CC = @CC@ RM = @RM@ @@ -38,7 +38,6 @@ SRCS = \ extb_extgecos.c \ hurt.c \ ip_cloaking.c \ - sno_channeljoin.c \ sno_farconnect.c \ sno_globalkline.c \ sno_globaloper.c \ diff --git a/include/serno.h b/include/serno.h index 9d33426..6d68aba 100644 --- a/include/serno.h +++ b/include/serno.h @@ -1 +1 @@ -#define SERNO "20070524-3474" +#define SERNO "20070524-3476" diff --git a/unsupported/Makefile.in b/unsupported/Makefile.in index 2ebf514..60ee719 100644 --- a/unsupported/Makefile.in +++ b/unsupported/Makefile.in @@ -1,7 +1,7 @@ # # Makefile.in for ircd/unsupported # -# $Id: Makefile.in 1425 2006-05-23 16:41:33Z jilles $ +# $Id: Makefile.in 3478 2007-05-24 15:10:06Z jilles $ # CC = @CC@ RM = @RM@ @@ -28,7 +28,8 @@ CPPFLAGS = ${INCLUDES} @CPPFLAGS@ SRCS = \ m_clearchan.c \ - m_force.c + m_force.c \ + sno_channeljoin.c OBJS = ${SRCS:.c=.so} diff --git a/extensions/sno_channeljoin.c b/unsupported/sno_channeljoin.c similarity index 88% rename from extensions/sno_channeljoin.c rename to unsupported/sno_channeljoin.c index f54a84d..9a9831f 100644 --- a/extensions/sno_channeljoin.c +++ b/unsupported/sno_channeljoin.c @@ -5,7 +5,7 @@ * To be discussed: * + part notices? * - * $Id: sno_channeljoin.c 3474 2007-05-24 04:16:02Z nenolod $ + * $Id: sno_channeljoin.c 3478 2007-05-24 15:10:06Z jilles $ */ #include "stdinc.h" @@ -42,4 +42,4 @@ fini(void) snomask_modes['j'] = 0; } -DECLARE_MODULE_AV1(sno_channeljoin, init, fini, NULL, NULL, channeljoin_hfnlist, "$Revision: 3474 $"); +DECLARE_MODULE_AV1(sno_channeljoin, init, fini, NULL, NULL, channeljoin_hfnlist, "$Revision: 3478 $");