Commit Graph

1718 Commits

Author SHA1 Message Date
JD Horelick f10ec0c42e Change ERR_MLOCKRESTRICTED to 742 as 735-739 seem for MONITOR extensions. 2010-09-11 13:55:06 -04:00
William Pitcock fc579e36e7 Enforce TS rules on MLOCKs. 2010-08-23 20:22:59 -05:00
JD Horelick e610316019 First part of charybdis changeset 1393:da0c7fdb7ee1 2010-09-11 13:49:21 -04:00
William Pitcock c95fc52d5a Send numeric 735 on MLOCK policy-restricted mode changes that are ignored. 2010-08-23 19:04:46 -05:00
William Pitcock ed6565a5a0 Add ERR_MLOCKRESTRICTED (735) to reflect bounces caused by MLOCK. 2010-08-23 18:59:32 -05:00
Stephen Bennett 6da02ba998 Update MLOCK protocol documentation to match changes in code 2010-05-02 22:18:13 +01:00
Stephen Bennett c554add299 Allow the final parameter of MLOCK to be empty, to remove an existing mlock 2010-05-02 20:42:46 +01:00
Stephen Bennett b72bd23a03 Rework ircd-side MLOCK enforcement: instead of trying to track modes locked on or off, instead keep a simple list of mode letters that are locked, and reject any change to those modes. 2010-04-30 22:01:21 +01:00
JD Horelick 2d10c55990 Branch merge 2010-09-11 13:31:13 -04:00
JD Horelick ea84bfdeff Backed out changeset c04f6578869c 2010-09-11 13:31:00 -04:00
JD Horelick e09ea16973 "Import" changeset 1346:c57955c5225e from charybdis by hand. 2010-09-11 13:23:35 -04:00
William Pitcock e7c34075dd chm_simple(): enforce MLOCK 2010-03-07 23:15:52 -06:00
William Pitcock 28805dc5fc Add propagation of MLOCK state for simple modes.
Special modes like +j can be tracked easily just by adding the necessary
code to parse them to set_channel_mlock().  This will cover propagation
as well.
2010-03-07 23:13:39 -06:00
William Pitcock b552cf8745 Fix order on channel_mlock() call. 2010-03-07 23:12:35 -06:00
William Pitcock 24cf9d8a28 Fix typo. 2010-03-07 22:30:30 -06:00
William Pitcock 6b5059c363 Add MLOCK message to netjoin burst. 2010-03-07 22:29:34 -06:00
William Pitcock 27958781f6 Add MLOCK capability token. 2010-03-07 22:25:41 -06:00
William Pitcock cb2f3005bd Add syntax description of MLOCK message to ts6-protocol.txt. 2010-03-07 21:51:41 -06:00
William Pitcock dc45456c96 struct Channel: add mode_lock structure to the channel object. 2010-03-07 21:41:06 -06:00
William Pitcock 34f6a40e79 struct Mode: add off_mode bitfield to describe disabled channel modes. 2010-03-07 21:40:34 -06:00
William Pitcock 5f58af73d7 Correct 325 (RPL_CHANNELMLOCKIS) numeric. 2010-03-07 21:37:23 -06:00
William Pitcock 22caef5e58 Add RPL_CHANNELMLOCKIS for ircd-side MLOCK enforcement. 2010-03-07 21:35:54 -06:00
B.Greenham 82c11fc45c Automated merge with ssh://taros@hg.atheme.org//hg/unofficial/shadowircd 2010-09-10 13:27:07 -04:00
B.Greenham 01b2be6fe1 Allow users to send replies through +G the same as they can through +g. 2010-09-10 13:26:41 -04:00
JD Horelick 9fc5811f79 Add GroupServ aliases to the shadowircd configs by default. 2010-09-04 18:31:18 -04:00
B.Greenham ca328a798f Fix crash upon recieving SVSJOIN for remote user. 2010-08-30 18:25:40 -04:00
JD Horelick 43c957b5ec Update the Mercurial-Access file for the new Shadowircd-on-atheme.org hg stuff.
Also, testing that cia.vc still works.
2010-08-30 17:05:17 -04:00
Jilles Tjoelker 3721c57468 Show the services login name in WHOWAS.
The numeric is the same (330) as used in WHOIS.

This takes at most half a megabyte of memory (large network, 30 char nicks).
2010-08-29 22:30:54 +02:00
Jilles Tjoelker 80d57d3924 Move RPL_WHOISLOGGEDIN to sendto_one_numeric(). 2010-08-29 22:29:17 +02:00
Jilles Tjoelker d8316e070f Provide an error message when a user does /quote ban. 2010-08-29 15:16:47 +02:00
JD Horelick 8a889b0a5f Change the defaul nicklen back to 31. This is more efficient due to struct packing. 2010-08-29 01:16:28 -04:00
Jilles Tjoelker 9e94d9ea13 Add target change for channels.
This has a separate enabling option channel::channel_target_change.

It applies to PRIVMSG, NOTICE and TOPIC by unvoiced unopped non-opers.

The same slots are used for channels and users.
2010-08-28 20:02:42 -04:00
JD Horelick 7f3998618e Change oper-up message. 2010-08-28 18:16:28 -04:00
JD Horelick ad6bcd42f9 Fix my last commit 2010-08-01 14:35:22 -04:00
JD Horelick 4eaadbf404 Fix a couple of compile warnings. 2010-08-01 14:29:06 -04:00
B.Greenham d76346d3d4 Make channel::admin_on_channel_create only work if admin is enabled. 2010-07-29 14:26:18 -04:00
B.Greenham d7a3d23cdd Add channel::admin_on_channel_create, which gives users creating new channels +ao instead of +o, if enabled. 2010-07-29 14:22:33 -04:00
B.Greenham 7af1b8d223 Merge. 2010-07-28 20:01:55 -04:00
B.Greenham ffd69d40d1 Fix the 'phantom user' bug, along with a bug that would make repeat mode changes appear on burst. 2010-07-28 19:54:22 -04:00
JD Horelick 199eaba28d Change default nicklen to 30. 2010-07-11 21:57:54 -04:00
JD Horelick 713624ed6a Add hide_channel_below_users value to m_info. 2010-07-10 05:01:23 -04:00
JD Horelick 9e8efa00d4 Fix a quick compile warning. 2010-07-10 01:29:22 -04:00
JD Horelick 6898ce9dde Add general::hide_channel_below_users option.
This allows server owners to set how many users must be in a channel before
/LIST will show it.
2010-07-10 01:28:21 -04:00
JD Horelick 430222b125 Remove the /umode2 (opers can change others' umodes) thing from TODO.
There's OACCEPT for +g and for +B, just tell the user to botmode his own bot
or you'll kline it till he does.
If anyone can think of a good use-case for this, it may be re-added.
2010-07-06 15:19:47 -04:00
B.Greenham 0864baa814 Automated merge with ssh://shadowircd/uranium/shadowircd/ 2010-07-06 14:28:19 -04:00
B.Greenham e04086c5ec Update TODO. 2010-07-06 14:28:07 -04:00
JD Horelick 2588ff97f4 Change a bit of the last commit since opers do not go through +g on ShadowIRCd as they do on Charybdis. 2010-07-04 16:12:31 -04:00
JD Horelick 33736ea75f Tweak auto-accept:
* does not apply to NOTICE (as those may well be automated)
* mirrors +g behaviour so that no useless accept entries are added for services
* respects max_accept, if it would be exceeded the message is dropped with numeric 494
* check moved up so this is checked before floodcount/tgchange

Pulled from Charybdis upstream changeset 1388:b1ef26176350 done by jilles.
2010-07-04 15:27:34 -04:00
JD Horelick dab6375a1e Branch Merge 2010-07-04 03:29:35 -04:00
JD Horelick ba06b3db25 Backed out changeset 8781a9e4c62c 2010-07-04 03:25:54 -04:00