Commit Graph

1708 Commits

Author SHA1 Message Date
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
JD Horelick e09ea16973 "Import" changeset 1346:c57955c5225e from charybdis by hand. 2010-09-11 13:23:35 -04: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
William Pitcock 5b71b8ec50 Stop griefing through taunting while hiding behind CALLERID.
This shouldn't provide any way for a client to get on a CALLERID list
without authorization, as if a client is +g already, a CTCP request, for
example, won't be replied to.
2010-07-03 00:44:55 -05:00
B.Greenham 659dbfa585 Automated merge with ssh://shadowircd/uranium/shadowircd/ 2010-07-02 19:09:51 -04:00
B.Greenham 1fe75e33cc mode api: Remove most modes from the chmode_table, and have them initialized in modeset files.
Modeset files are modules stored in shadowircd/modes. All they do is initalize
a set of modes on load, and orphan said modes on unload.

All cmodes not included in ircd-ratbox are now located in modeset files, rather
than being in the core. These modes no longer simply use defines, their
locations are stored in a the new struct module_modes. Each of these is set
when intializing the mode in the modeset files, and set to 0 when orphaning
the mode upon unloading the modeset file.

In addition, use_forward has been removed, as it is now obsoleted by modesets.
2010-07-02 19:09:46 -04:00
JD Horelick 1d0a5f6d0e I am made of the fail today.
/me climbs aboard the failbus.
2010-06-23 16:32:10 -04:00
JD Horelick a58c4fedeb Sort of standardize the display of DNSBL hit snotes. 2010-06-23 16:30:08 -04:00
JD Horelick 96f20bc6f5 Remove FORCEPART from m_force. It is quite abusive (even with the snotes) and
it would be a lot less abusive to use OKICK instead.
2010-06-23 16:01:14 -04:00
JD Horelick ed6ad7a375 Change the DNSBL hit snomask to SNO_REJ (+r) as to not spam SNO_GENERAL 2010-06-23 15:01:49 -04:00
William Pitcock 6f187f63b5 strip_colour(): strip ASCII 29 (mIRC 7 italics). 2010-06-19 16:53:56 -05:00
JD Horelick 40114db23c Make DNSBL hits snote on hit. The snote displays nick, IP and what DNSBL they hit. 2010-06-23 13:44:33 -04:00
JD Horelick b25b4a7c5a Add InfoServ to the default aliases in ShadowIRCd.
Its now in Atheme and enabled by default in Atheme so it seems intelligent to
do so here.
2010-06-23 02:20:04 -04:00