William Pitcock
4cbed3b849
extensions/m_roleplay: merge in darkmyst changes
2012-11-04 03:35:58 +00:00
William Pitcock
e5149d6169
Add module which restricts unauthenticated users from doing anything as channel op.
2012-11-01 06:48:40 +00:00
Keith Buck
0d0f34c322
chm_nonotice: Ignore CTCP and send ERR_CANNOTSENDTOCHAN if a message is being blocked.
2012-07-31 06:37:33 +00:00
Douglas Freed
9f409b6333
extensions/ip_cloaking*: Fix a bug accidentally introduced in 29d224a1
where the cloaking module would change your cloak locally, but not correctly broadcast this to the network, and fail to tell you correctly in the RPL_HOSTHIDDEN reply
2012-05-24 11:06:20 +00:00
Jilles Tjoelker
b97e1bf66c
extensions/roleplay: Fix "No such channel" message.
2012-04-14 01:11:40 +02:00
Jilles Tjoelker
23485ebe3a
extensions/roleplay: End floodgrace because this is sent to other users.
2012-04-14 01:07:43 +02:00
William Pitcock
b181432121
extensions/chm_nonotice: fix typo
2012-04-02 14:07:25 -05:00
William Pitcock
359407245d
extensions/chm_nonotice: reject NOTICEs to channels mode
...
Same thing as +T in unrealircd, inspircd and shadowircd.
2012-03-31 22:56:14 -05:00
William Pitcock
dd2654fadb
Merge branch 'master' of git.atheme.org:/gitroot/charybdis
2012-03-04 17:25:17 -06:00
William Pitcock
c918eb5799
m_remove: Don't use capability_require().
2012-03-04 17:25:01 -06:00
Nathan Phillip Brink
c74836dc4a
Add explicit support for being installed into a system triggered with --enable-fhs-paths.
...
Add two mechanism for avoiding name-collisions in a system-wide
installation of charybdis. The ssld and bandb daemons, intended to be
directly used by ircd and not the user, install into libexec when
--enable-fhs-paths is set. For binaries which are meant to be in PATH
(bindir), such as ircd and viconf, there is now an option
--with-program-prefix=progprefix inspired by automake. If the user
specifies --with-program-prefix=charybdis, the ircd binary is named
charybdisircd when installed.
Add support for saving the pidfile to a rundir and storing the ban
database in localstatedir instead of in sysconfdir. This is, again,
conditional on --enable-fhs-paths.
Fix(?) genssl.sh to always write created SSL key/certificate/dh
parameters to the sysconfdir specified during ./configure. The
previous behavior was to assume that the user ran genssl.sh after
ensuring that his current working directory was either sysconfdir or a
sibling directory of sysconfdir.
2012-03-01 02:41:09 +00:00
Nathan Phillip Brink
f02e3a2628
Use LDFLAGS when compiling extensions or modules.
2012-02-28 04:36:00 +00:00
Keith Buck
29d224a1f8
ip_cloaking*: Do qjm locally too.
2012-02-18 05:16:03 +00:00
William Pitcock
deee7b4388
m_remove: fix parameter order on PART message
2012-02-04 18:49:46 -06:00
Jilles Tjoelker
63dd387b13
Require all modes to be set for + part in $m extban.
...
This is like the - part requiring none of the modes to be set and is more
useful because the old behaviour can be emulated with multiple bans.
2012-02-04 15:02:26 +01:00
William Pitcock
925c50efea
Add implementation of /REMOVE, based on ircd-seven implementation.
2012-02-04 02:20:56 -06:00
Keith Buck
4862f41a02
extban : Correct logic for matching against permissions.
2012-01-24 17:13:32 +00:00
JD Horelick
a8eae73002
extb_usermode should declare itself as what it actually is.
2012-01-22 13:56:25 -05:00
William Pitcock
655e7dee45
extban $o: add support for matching against specific permissions.
...
Syntax: $o:oper:admin (match against the oper:admin permission)
2012-01-22 04:05:34 -06:00
William Pitcock
11f2e78727
extb_usermode: should use EXTBAN_INVALID if no modestring is provided
2012-01-22 03:58:32 -06:00
William Pitcock
0b18e32cad
Add extban target for matching against a user's modes.
...
Syntax: $m:+o (require usermode +o)
Syntax: $m:+o-a (require usermode +o but do not allow +a)
Syntax: $m:+a (require usermode +a)
Syntax: $m:-h (require user disables cloaking to enter)
2012-01-22 03:46:08 -06:00
Elizabeth Jennifer Myers
765d839d3c
Port ircd-seven banfowards to charybdis.
...
nenolod gave the thumbs-up to port ircd-seven banfowards to charybdis to spb
for a while, and people have asked about it. Might as well do it since it's a
slow weekend.
Note that as a side effect use_forward is removed from the config and
unconditionally enabled!
2011-08-12 20:33:10 -04:00
Jilles Tjoelker
b4cdedaa2a
override: Send notice when overriding can_send.
...
Also ensure no session deadline is maintained for a remote client.
2011-08-07 22:10:12 +02:00
Elizabeth Jennifer Myers
89bfeb8fb1
Remove #define KEY from ip_cloaking modules.
...
I meant to do this 3 years ago when I rewrote the cloaking modules. I
never got around to it. Now I am. :p
Also add some basic comment headers whilst I'm here.
2011-07-25 23:38:56 -04:00
Jilles Tjoelker
0d165b5262
override: Apply floodcount to override sends.
...
This avoids strange behaviour where quieting an override
oper lets them send more, and matches ircd-seven.
2011-02-06 15:50:58 +01:00
Elizabeth Jennifer Myers
f924ea40a3
Overhaul extensions/m_mkpasswd. It now allows SHA256/SHA512 hashes. DES support is removed, as it is insecure and can be broken on my desktop in about 20 minutes.
2011-01-06 01:41:57 -05:00
Keith Buck
bb55ebebe9
Implement operspy for /LIST.
2011-01-05 18:57:27 -08:00
Jilles Tjoelker
6d61f90fd6
override: Provide an error message if +p may not be set.
2010-12-31 02:43:38 +01:00
William Pitcock
805cfa5ab2
Use send_channel_join().
2010-12-16 00:13:42 -06:00
B.Greenham
fb28c74187
extensions/roleplay: Fix NPCA/FACTION not showing up properly on some clients.
2010-12-15 15:43:35 -05:00
B.Greenham
6816e3387a
Make ENCAP ROLEPLAY originate from the user running the command, rather than just including the user in the message, as per jilles' suggestion.
...
This has the benefit of checking ROLEPLAY messages for fake direction.
2010-12-11 15:51:11 -05:00
B.Greenham
8ffa827529
Add extensions/m_roleplay, which provides various roleplay commands.
2010-12-09 18:44:24 -05:00
William Pitcock
5c3014d0eb
Clean up OverrideSession struct on client exit.
2010-12-07 00:27:00 -06:00
William Pitcock
9101dbcda2
override: Hack can_send().
2010-12-07 00:18:22 -06:00
William Pitcock
d307688122
override: Allow banwalking too.
2010-12-06 23:55:42 -06:00
William Pitcock
429cf1b74f
Add oper-override (modehacking only) as a module.
...
I think if you are going to kick someone from a channel.
2010-12-06 23:44:55 -06:00
Jilles Tjoelker
19716b9fd6
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
27f616ddf5
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
William Pitcock
4cbfc368b4
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
3ad21d7513
hurt: unbreak compile
2010-02-17 06:44:42 -06:00
Jilles Tjoelker
70ea02ebd6
Complete the move of xlines and resvs from aconf->name to aconf->host.
2010-01-08 18:46:29 +01:00
Jilles Tjoelker
161f040940
Update comments for parv[0] removal.
2009-01-18 18:22:43 +01:00
Jilles Tjoelker
3dfaa67120
Replace parv[0] with source_p->name.
2009-01-17 01:18:19 +01:00
Jilles Tjoelker
f85a5a3f20
m_webirc: use rb_crypt() instead of crypt()
2008-12-13 11:49:28 +01:00
Jilles Tjoelker
d9439a0eee
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
5067fe0e81
ip_cloaking: remove some unnecessary braces
2008-09-19 23:44:56 +02:00
Jilles Tjoelker
9d99a3096c
ip_cloaking: fix digits in hostnames
2008-09-19 23:42:28 +02:00
Jilles Tjoelker
e1c1f08d24
ip_cloaking: fix HOSTLEN buffer lengths,
...
could have truncated one char it shouldn't
2008-09-19 23:41:22 +02:00
Jilles Tjoelker
3213b626a4
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
14f12985df
Automated merge with http://hg.atheme.org/charybdis
2008-09-17 03:25:19 -05:00