[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.
This commit is contained in:
parent
45ed977779
commit
297c7db408
7 changed files with 19 additions and 12 deletions
10
ChangeLog
10
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)
|
nenolod 2007/05/24 04:16:02 UTC (20070524-3474)
|
||||||
Log:
|
Log:
|
||||||
- sno_channeljoin: implements snomask +j and sends channel join notices there from local users
|
- sno_channeljoin: implements snomask +j and sends channel join notices there from local users
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* Copyright (C) 2002-2005 ircd-ratbox development team
|
* Copyright (C) 2002-2005 ircd-ratbox development team
|
||||||
* Copyright (C) 2005-2006 charybdis 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.
|
* See reference.conf for more information.
|
||||||
*/
|
*/
|
||||||
|
@ -23,7 +23,6 @@
|
||||||
#loadmodule "extensions/m_findforwards.so";
|
#loadmodule "extensions/m_findforwards.so";
|
||||||
#loadmodule "extensions/m_identify.so";
|
#loadmodule "extensions/m_identify.so";
|
||||||
#loadmodule "extensions/no_oper_invis.so";
|
#loadmodule "extensions/no_oper_invis.so";
|
||||||
#loadmodule "extensions/sno_channeljoin.so";
|
|
||||||
#loadmodule "extensions/sno_farconnect.so";
|
#loadmodule "extensions/sno_farconnect.so";
|
||||||
#loadmodule "extensions/sno_globalkline.so";
|
#loadmodule "extensions/sno_globalkline.so";
|
||||||
#loadmodule "extensions/sno_globaloper.so";
|
#loadmodule "extensions/sno_globaloper.so";
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*
|
*
|
||||||
* Written by ejb, wcampbel, db, leeh and others
|
* 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:
|
/* IMPORTANT NOTES:
|
||||||
|
@ -54,7 +54,6 @@
|
||||||
* Find channel forwards -- m_findforwards.so
|
* Find channel forwards -- m_findforwards.so
|
||||||
* /identify support -- m_identify.so
|
* /identify support -- m_identify.so
|
||||||
* Opers cannot be invisible (umode +i) -- no_oper_invis.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
|
* Far connection notices (snomask +F) -- sno_farconnect.so
|
||||||
* Remote k/d/g/x line active notices -- sno_globalkline.so
|
* Remote k/d/g/x line active notices -- sno_globalkline.so
|
||||||
* Remote oper up notices -- sno_globaloper.so
|
* Remote oper up notices -- sno_globaloper.so
|
||||||
|
@ -73,7 +72,6 @@
|
||||||
#loadmodule "extensions/m_findforwards.so";
|
#loadmodule "extensions/m_findforwards.so";
|
||||||
#loadmodule "extensions/m_identify.so";
|
#loadmodule "extensions/m_identify.so";
|
||||||
#loadmodule "extensions/no_oper_invis.so";
|
#loadmodule "extensions/no_oper_invis.so";
|
||||||
#loadmodule "extensions/sno_channeljoin.so";
|
|
||||||
#loadmodule "extensions/sno_farconnect.so";
|
#loadmodule "extensions/sno_farconnect.so";
|
||||||
#loadmodule "extensions/sno_globalkline.so";
|
#loadmodule "extensions/sno_globalkline.so";
|
||||||
#loadmodule "extensions/sno_globaloper.so";
|
#loadmodule "extensions/sno_globaloper.so";
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
# Makefile.in for ircd/contrib
|
# 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@
|
CC = @CC@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
|
@ -38,7 +38,6 @@ SRCS = \
|
||||||
extb_extgecos.c \
|
extb_extgecos.c \
|
||||||
hurt.c \
|
hurt.c \
|
||||||
ip_cloaking.c \
|
ip_cloaking.c \
|
||||||
sno_channeljoin.c \
|
|
||||||
sno_farconnect.c \
|
sno_farconnect.c \
|
||||||
sno_globalkline.c \
|
sno_globalkline.c \
|
||||||
sno_globaloper.c \
|
sno_globaloper.c \
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
#define SERNO "20070524-3474"
|
#define SERNO "20070524-3476"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
# Makefile.in for ircd/unsupported
|
# 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@
|
CC = @CC@
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
|
@ -28,7 +28,8 @@ CPPFLAGS = ${INCLUDES} @CPPFLAGS@
|
||||||
|
|
||||||
SRCS = \
|
SRCS = \
|
||||||
m_clearchan.c \
|
m_clearchan.c \
|
||||||
m_force.c
|
m_force.c \
|
||||||
|
sno_channeljoin.c
|
||||||
|
|
||||||
OBJS = ${SRCS:.c=.so}
|
OBJS = ${SRCS:.c=.so}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* To be discussed:
|
* To be discussed:
|
||||||
* + part notices?
|
* + 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"
|
#include "stdinc.h"
|
||||||
|
@ -42,4 +42,4 @@ fini(void)
|
||||||
snomask_modes['j'] = 0;
|
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 $");
|
Loading…
Reference in a new issue