Commit Graph

1813 Commits

Author SHA1 Message Date
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 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
JD Horelick fb06d910df SVN Id removal part two 2010-06-10 21:28:15 -04:00
JD Horelick 133755685e Removal of ancient SVN ID's part one 2010-06-10 21:22:44 -04:00
JD Horelick 9f1913e7b8 Readd DroneBL to the list of default blacklist. Most of the trustworthiness
issues have been fixed. Keep EFNet RBL though. :)
2010-06-10 17:15:50 -04:00
Jilles Tjoelker 97bd6a2e37 Propagate changed away messages to other servers,
even if the away status did not change.
2010-06-10 22:16:07 +02:00
Jilles Tjoelker dfea673fca Make number_per_ident actually apply to unidented connections as well,
as documented in reference.conf.

Noticed by: spb
2010-06-09 21:22:47 +02:00
William Pitcock 4ea91f08c5 Recommend EFNet's RBL instead of DroneBL due to trustworthiness issues.
(StaticBox policy change as of May 14, 2010.)
2010-05-14 08:49:26 -05:00
Elly 86ed11bb4c Fix memory leaks in PASS command, both in normal and repeated use. 2010-06-01 13:11:47 -04:00
Jilles Tjoelker e70448e441 dline help: add oper reason, clarify temps, add ON <server>. 2010-05-20 00:23:32 +02:00
Jilles Tjoelker 57fe1cf10e openssl: Avoid cutting off OpenSSL errors at 119 chars.
ERR_error_string() is just broken, as it returns at most 119 chars
which means error messages are frequently truncated.
Allow for 511 chars using ERR_error_string_n().
2010-05-09 00:30:51 +02: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
Jilles Tjoelker 9dc68130ea Improve technical documentation of BAN protocol. 2010-04-29 00:26:49 +02:00
Jilles Tjoelker b96db1e3fe Fix crash if identify_service/identify_command were not specified in ircd.conf. 2010-04-18 13:54:03 +02:00
B.Greenham 2498a1b577 Fix some valgrind warnings. 2010-05-27 18:03:51 -04:00
JD Horelick 1add004b97 Change kicknorejoin to be hardcoded to 2 seconds instead of a
configurable opton.
2010-05-21 04:20:45 -04:00
JD Horelick f0e0e5672d Backed out changeset 9bd802724b74 2010-05-21 04:08:05 -04:00
JD Horelick 446c7d4f57 Remove +J chmode (KICKNOREJOIN) 2010-05-21 03:29:07 -04:00
JD Horelick 4b4fc78cfb Do not allow a topic change if a user may not send to the channel
(resv, cmode +m, cmode +b, cmode +q, etc.).

This is only checked for local users.

For optimal compatibility, a failure for this reason still
returns ERR_CHANOPRIVSNEEDED.

Side effect: normal users cannot change topics of resv'ed
channels, even if they have ops, just like they already
cannot send messages. This only matters if resv_forcepart
is disabled, as the user would have been removed from the
channel otherwise.

Imported from charybdis changeset 1368:a224ec22c54c
2010-04-15 13:12:45 -04:00
JD Horelick b752a50272 Fix a bug that stopped halfops from changing the topic. 2010-04-14 19:28:15 -04:00
JD Horelick ef61796891 Added tag shadowircd-6.1.0 for changeset d1acc17f230a 2010-04-11 20:36:55 -04:00
JD Horelick a12a0836ff Bump version to 6.1.0 2010-04-11 20:36:38 -04:00
JD Horelick 55bb399f79 Update TODO 2010-04-11 14:28:46 -04:00
B.Greenham 979a6d5a51 Automated merge with ssh://shadowircd/uranium/shadowircd/ 2010-04-09 11:57:44 -04:00
B.Greenham 05073c8113 Update TODO. 2010-04-09 11:54:41 -04:00
JD Horelick fa6495b47f Clarify no_oper_flood option in the reference.conf 2010-04-08 21:41:15 -04:00
JD Horelick 5882de85a4 Added default_ident_timeout to the NEWS. 2010-04-07 17:29:25 -04:00
B.Greenham ad9de1c86b Update NEWS. 2010-04-07 16:58:01 -04:00
B.Greenham f135c53751 Make PRIVMSG @#channel and PRIVMSG +#channel go to halfops and admins as well as chanops.
6.1 is now feature complete.
2010-04-07 16:53:59 -04:00
JD Horelick 24c2e4ff18 Add OPERHOST to the help for SET. 2010-04-07 15:17:44 -04:00
B.Greenham 8e05e221cd Automated merge with ssh://shadowircd/uranium/shadowircd/ 2010-04-07 15:08:26 -04:00
B.Greenham 41e026e175 Don't throw a warning if general:default_operhost is empty. 2010-04-07 15:08:02 -04:00
B.Greenham 67537fefa4 Add OPERHOST option to /set, which allows you to change the host operators get on oper up (provided they don't have a specific one already defined in their operator block.) 2010-04-07 15:04:42 -04:00
JD Horelick 24170ac312 Add some ircd-seven love to CREDITS. 2010-04-07 14:07:44 -04:00
JD Horelick 1434082803 Change config option for ident_timeout to default_ident_timeout as jilles
recommended. Also update the TODO. Also, cocks.
2010-04-05 16:29:11 -04:00
JD Horelick e50ed244f4 Add a configuration option for ident_timeout. 2010-04-05 15:28:44 -04:00
JD Horelick 4369131cc7 Change the default ident timeout time to 5s to not be as annoying
to clients that don't send an ident and add a TODO item for 6.2 to
make ident timeout time configurable in the ircd.conf.

Currently it's only configurable in the include/defaults.h (ugly)
or on-the-fly with /set (doesn't persist, have to re-set it on each
restart/server).
2010-04-04 17:13:04 -04:00
JD Horelick a5687a4cf7 Update NEWS. 2010-04-04 16:26:16 -04:00
JD Horelick 015b28a06c Branch Merge 2010-04-04 16:25:20 -04:00
B.Greenham d6a51668b7 Update NEWS. 2010-04-04 16:13:48 -04:00
B.Greenham 8097430a81 Allow /ojoin !#channel/%#channel, if admin/halfop are enabled. 2010-04-04 15:58:07 -04:00
B.Greenham 46a30dbe86 Update omode so that it can set +ah. 2010-04-04 15:32:34 -04:00