Commit Graph

117 Commits

Author SHA1 Message Date
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
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
Jilles Tjoelker 8109e8e320 ip_cloaking: fix HOSTLEN buffer lengths,
could have truncated one char it shouldn't
2008-09-19 23:41:22 +02:00
Jilles Tjoelker 799483e7ea More ip_cloaking improvements from Spaz.
The mangling function now creates more variation,
and more of numeric IPs is mangled.
2008-09-19 23:35:43 +02:00
William Pitcock d7cff1d11b Automated merge with http://hg.atheme.org/charybdis 2008-09-17 03:25:19 -05:00
Jacob Myers 18395f4fa8 Improved cloaking. It now uses an FNV hash, which makes IP's much more
difficult to predict.
2008-09-17 04:15:51 -04:00
William Pitcock 1596c1242e Copy ip_cloaking.c to ip_cloaking_3.0.c 2008-09-17 03:23:06 -05:00
Jilles Tjoelker 1f24b3b1c2 Make sno_globalkline work for servers without kline_reason, but only for temps. 2008-09-17 00:24:50 +02:00
Jilles Tjoelker 73f50e08ea Fix possible crash with m_mkpasswd extension. 2008-09-06 21:49:45 +02:00
Jilles Tjoelker 5b0a527927 Use rb_snprintf() in various places. 2008-09-06 01:00:20 +02:00
Jilles Tjoelker 64973a71e6 Do not use get_oper_name() for a netwide server notice, it may be confusing. 2008-09-02 23:44:06 +02:00
Valery V Yatsko 767fdd62fe fixed chm_adminonly extension - IsOperAdmin replaced with IsAdmin.. hm.. but possibly we need to allow hidden opers/admins to enter protected
channels?
2008-08-16 23:34:32 +04:00
Valery V Yatsko 3df643b140 Extension for +A (admin only) channel mode, currently belongs to type chm_staff as operonly, seen in various networks. 2008-08-13 21:04:27 +04:00