Commit Graph

128 Commits

Author SHA1 Message Date
B.Greenham a4d2230fbc Add extensions/m_roleplay, a module that provides various roleplaying commands. 2010-12-07 23:32:46 -05:00
B.Greenham be293b018b Don't segfault if someone tries to OACCEPT a server for some inane reason. 2010-11-22 11:14:44 -05:00
B.Greenham 4023293674 Merge. 2010-10-11 11:58:39 -04:00
B.Greenham 90728edb58 Backed out changeset 3097ade953f5
Backout modesets.

They're overly invasive and a bit uglier than is required.
The same thing can be accomplished in a better way with another method.
2010-10-11 11:58:21 -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 133755685e Removal of ancient SVN ID's part one 2010-06-10 21:22:44 -04:00
B.Greenham 2498a1b577 Fix some valgrind warnings. 2010-05-27 18:03:51 -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 015b28a06c Branch Merge 2010-04-04 16:25:20 -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
Jilles Tjoelker 6795400d0a New custom channel mode API allowing reloading such modules.
Additionally, attempting to use too many modes or two times
the same letter is now detected and prevented.

Modules now request that a channel mode be added/orphaned,
instead of ugly manipulation from which that request had
to be guessed.

Slight changes are needed to modules that provide channel modes.
From the old API, one important function has been made static,
the other important function has been renamed, so loading old
modules should fail safely.
2010-04-01 01:16:16 +02:00
B.Greenham 659dbfa585 Automated merge with ssh://shadowircd/uranium/shadowircd/ 2010-07-02 19:09:51 -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
Jilles Tjoelker a0f4c418d3 Track who set a dline/kline/xline/resv as in ratbox3.
Like in ratbox3, there is no way to query this information
(other than bandb's tables, but they worked before this
commit).
2010-03-01 01:23:22 +01:00
JD Horelick 82b371736d Add showing modes to OLIST so you can more easily see if you're
about to join a +s channel and it can be useful as a oper to easily
see which channels have certain modes set (i'm thinking +PL and maybe more).
2010-03-20 04:34:44 -04:00
B.Greenham 2c0c690444 Fix some compile warnings. 2010-03-18 12:32:42 -04:00
JD Horelick 853058531a Added m_cycle and added it to all the appropriate locations. 2010-03-15 15:35:32 -04:00
B.Greenham 3c0f833420 Add OKICK to documentation. 2010-03-14 17:25:53 -04:00
B.Greenham 18e4f1775b Fix oaccept not propegating wallops. 2010-03-10 14:00:02 -05:00
B.Greenham 7bf7fc16f0 Oaccept isn't named omode... 2010-03-09 01:30:42 -05:00
B.Greenham c1c91f9438 s/owner/admin/ throughout the source code and docs. 2010-03-07 23:18:39 -05:00
JD Horelick 82e5490f59 Add m_webirc to "default" loaded extensions in .conf files and
add a WEBIRC auth {} block for it to show how its used so you
don't have to read the source of the extension to figure it out.
2010-03-07 17:13:46 -05:00
B.Greenham bc4764aefd Looks like irc_dictionary things cannot support more than one key with the same value. Therefore, a rework of +J and OACCEPT's metadata are required to make them work properly with multiple users. 2010-03-06 19:22:59 -05:00
JD Horelick 1be5895576 Move make_override_immune to unsupported, because as previously mentioned, i fail. 2010-03-05 22:13:21 -05:00
B.Greenham 76db4b42e2 Fix a segfault in oaccept. 2010-03-05 20:49:30 -05:00
B.Greenham e6f94b0c3c Make oaccept use UIDs instead of nicks. 2010-03-05 14:34:44 -05:00
B.Greenham 75a9b0c8b0 Make oaccept work for multiple opers on the same target. 2010-03-05 14:26:40 -05:00
B.Greenham 559d530111 Make m_okick support the new +J format. 2010-03-05 13:59:35 -05:00
B.Greenham 870b1b4694 Third time's the charm, apparently. Being sleepy and committing is a bad combo. 2010-03-05 01:51:36 -05:00
B.Greenham f865a3619d Actually make okick support +J. 2010-03-05 01:44:16 -05:00
B.Greenham d925c36c4e Make m_okick support +J. 2010-03-05 01:40:52 -05:00
B.Greenham defa3ff445 Add oaccept to extensions/readme, also clarify it a bit in the NEWS. 2010-03-04 01:47:50 -05:00
B.Greenham 1fbf6db662 Add extensions/m_oaccept , a module to allow opers to bypass +gGR with a command. 2010-03-04 01:40:13 -05:00
JD Horelick 0e4a619958 Added immune extension. Maybe it'll be added to the docs later...Maybe not.. 2010-03-03 14:44:41 -05:00
B.Greenham e2e3509129 Update extensions for +ah. 2010-02-27 23:20:01 -05:00
B.Greenham 0c33b827d0 Add m_force to extensions/README and to the example config files. 2010-02-24 11:44:25 -05:00
B.Greenham 9903cf1420 Change a lingering refrence to umode +h to umode +x 2010-02-24 11:33:26 -05:00
JD Horelick 78d9febea1 Clean up the ip_cloaking mess. Remove the quite old ip_cloaking modules,
rename ip_cloaking_4.0 to ip_cloaking since because of umode additions,
shadow6 isn't link-compatible with charybdis anyway so might as well
have the cloaking on a expected umode.
2010-02-23 20:50:54 -05:00
JD Horelick f8b8808ac7 Move m_force to extensions. 2010-02-23 01:42:36 -05:00
William Pitcock a58d052d02 Add ip_cloaking_4.0 module, which is the same cloaking as 3.2, but moves the usermode from +h to +x,
which allows us to start transitioning this usermode change.
2010-02-18 07:30:26 -06:00
William Pitcock eb2d2b8d76 hurt: unbreak compile 2010-02-17 06:44:42 -06:00
Jilles Tjoelker 70c6c150f6 Complete the move of xlines and resvs from aconf->name to aconf->host. 2010-01-08 18:46:29 +01:00
Jilles Tjoelker ac408af6cb Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
Jilles Tjoelker 8e425f4137 Replace parv[0] with source_p->name. 2009-01-17 01:18:19 +01:00
Jilles Tjoelker f24b187a8e m_webirc: use rb_crypt() instead of crypt() 2008-12-13 11:49:28 +01:00
Jilles Tjoelker 8e28bf2936 ip_cloaking: clarify logic
This also slightly changes mangled IPs but the
mangling is on the same level.
2008-09-20 00:30:35 +02:00
Jilles Tjoelker 00b7ddcc53 ip_cloaking: remove some unnecessary braces 2008-09-19 23:44:56 +02:00
Jilles Tjoelker 9b9c8484ed ip_cloaking: fix digits in hostnames 2008-09-19 23:42:28 +02:00