0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-28 05:18:59 +02:00
construct/modules
Elizabeth Jennifer Myers 8aabb973c0 Implement chanroles, as discussed with nenolod.
The theory behind this is that services sends an ENCAP * GRANT #channel
UID :+flagspec message specifying the chanroles the user has. They are
mapped into flag bits and applied to the membership of the user. They
then are restricted or permitted to what they can do based on the
permissions mask regardless of rank.

For backwards compatibility, the default permission bit (without a GRANT
statement) allows a user to to anything an existing op can do ONLY if
they are an op.

Todo: make CHANROLE_STATUS work (the ability to apply +ov to people),
which is at the moment controlled by CHANROLE_MODE.
2011-07-06 13:46:22 -04:00
..
core Implement chanroles, as discussed with nenolod. 2011-07-06 13:46:22 -04:00
.depend Regenerate depend files. 2008-07-12 01:52:27 +02:00
.indent.pro
m_accept.c Remove some unused variables. 2009-03-01 01:53:40 +01:00
m_admin.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_away.c Propagate changed away messages to other servers, 2010-06-10 22:16:07 +02:00
m_cap.c Add extended-join client capability. 2010-12-16 00:24:54 -06:00
m_capab.c Move check for required CAPABs to mr_server -- CAPAB may not be sent. 2009-04-21 18:43:07 +02:00
m_certfp.c Pass certfp to other servers and show it in whois. Do not show it on connect. 2010-02-06 00:18:27 +01:00
m_challenge.c m_challenge: fix use of undefined behaviour. 2011-02-22 12:00:45 -05:00
m_chghost.c Allow / in spoofed hosts 2009-04-20 08:37:13 -05:00
m_close.c libcharybdis includes gone. 2008-04-02 02:39:19 +04:00
m_cmessage.c CurrentTime -> rb_currenttime(); 2008-04-02 03:53:20 +04:00
m_connect.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_dline.c dline,kline: Avoid breaking the protocol with bad bans. 2011-06-25 11:34:34 +02:00
m_encap.c legacy irc sprintf gone 2008-04-20 09:12:09 +04:00
m_etrace.c Stop changing \s to spaces in masktrace and testmask, 2009-05-07 23:58:32 +02:00
m_grant.c Implement chanroles, as discussed with nenolod. 2011-07-06 13:46:22 -04:00
m_help.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_info.c Make flood control settings configurable by those who know exactly what they're doing. 2011-03-27 16:35:26 -04:00
m_invite.c invite: Remove useless IsChannelName check. 2011-06-25 11:34:16 +02:00
m_ison.c irc_string.h -> match.h, irc_string.h; includes changed 2008-04-20 09:47:38 +04:00
m_kline.c dline,kline: Avoid breaking the protocol with bad bans. 2011-06-25 11:34:34 +02:00
m_knock.c knock,topic: Remove useless IsChannelName checks. 2011-06-25 11:17:37 +02:00
m_links.c Fix /links buffer overflow. 2010-01-27 21:05:10 +01:00
m_list.c operspy list: Show '!' prefix for otherwise hidden channels rather than +s ones. 2011-05-24 00:30:45 +02:00
m_locops.c Remove some more references to parv[0] in comments. 2009-01-18 21:20:14 +01:00
m_lusers.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_map.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_monitor.c Use rb_snprintf() in various places. 2008-09-06 01:00:20 +02:00
m_motd.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_names.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_oper.c Clarify ERR_NOOPERHOST and convert it to use sendto_one_numeric(). 2010-02-17 06:51:41 -06:00
m_operspy.c legacy irc sprintf gone 2008-04-20 09:12:09 +04:00
m_pass.c Fix memory leaks in PASS command, both in normal and repeated use. 2010-06-01 13:11:47 -04:00
m_ping.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_pong.c Use FLAGS_SENTUSER when checking whether to register when ping cookie is received. 2010-02-24 23:28:27 +01:00
m_post.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_privs.c m_privs: Add stuff for privsets here too. 2008-08-17 08:56:40 -05:00
m_rehash.c Skip propagated bans in rehash txlines/tresvs. 2010-03-05 00:37:56 +01:00
m_restart.c irc_string.h -> match.h, irc_string.h; includes changed 2008-04-20 09:47:38 +04:00
m_resv.c Restore snotes, logs for UNRESV nick. 2010-03-27 16:24:13 +01:00
m_sasl.c If the sasl mechanism is EXTERNAL, send the certfp in the initial S message. 2011-04-04 00:59:20 +02:00
m_scan.c SCAN UMODES: default list-max to 500, like a global WHO. 2010-01-01 22:55:25 +01:00
m_services.c RSFNC: allow RSFNC against a target which just changes the capitalization of the nickname 2011-07-02 19:53:21 -05:00
m_set.c Reset check_splitmode_ev to NULL after removing it, 2008-06-29 01:37:11 +02:00
m_signon.c rsfnc/svslogin: Add server notices for kills. 2011-06-25 15:56:22 +02:00
m_snote.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_stats.c Add /stats g to show propagated (global) klines. 2010-03-06 00:31:51 +01:00
m_svinfo.c Disable autoconnect for a server with excessive TS delta. 2009-02-05 23:43:07 +01:00
m_tb.c Use full (:n!u@h) prefix for sending ETB from a user to clients. 2009-09-20 00:44:47 +02:00
m_testline.c Track who set a dline/kline/xline/resv as in ratbox3. 2010-03-01 01:23:22 +01:00
m_testmask.c Stop changing \s to spaces in masktrace and testmask, 2009-05-07 23:58:32 +02:00
m_time.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_topic.c Implement chanroles, as discussed with nenolod. 2011-07-06 13:46:22 -04:00
m_trace.c hunt_server: Disallow wildcarded nicknames. 2011-01-08 17:47:05 +01:00
m_unreject.c Reverting some changed related not to moving on libratbox3 but using ratbox3 source! 2008-04-02 19:37:50 +04:00
m_user.c irc_string.h -> match.h, irc_string.h; includes changed 2008-04-20 09:47:38 +04:00
m_userhost.c Revert all presence-related changes 2009-12-08 19:22:55 +00:00
m_users.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_version.c branding: if CUSTOM_BRANDING is defined, display charybdis version in /info 2011-05-08 09:06:19 -05:00
m_wallops.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_who.c Revert all presence-related changes 2009-12-08 19:22:55 +00:00
m_whois.c Pass certfp to other servers and show it in whois. Do not show it on connect. 2010-02-06 00:18:27 +01:00
m_whowas.c Show the services login name in WHOWAS. 2010-08-29 22:30:54 +02:00
m_xline.c XLINE: Do not cluster unxlines ON specific servers. 2010-03-27 16:09:26 +01:00
Makefile.in Implement chanroles, as discussed with nenolod. 2011-07-06 13:46:22 -04:00
sno_routing.c start making this compile 2008-04-01 15:18:48 -05:00
static_modules.c.SH