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
Jacob Myers
4acae09f3d
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
0469849f16
Copy ip_cloaking.c to ip_cloaking_3.0.c
2008-09-17 03:23:06 -05:00
Jilles Tjoelker
fb47b36663
Make sno_globalkline work for servers without kline_reason, but only for temps.
2008-09-17 00:24:50 +02:00
Jilles Tjoelker
17b97f3024
Fix possible crash with m_mkpasswd extension.
2008-09-06 21:49:45 +02:00
Jilles Tjoelker
c2f73e5dbc
Use rb_snprintf() in various places.
2008-09-06 01:00:20 +02:00
Jilles Tjoelker
b92d34adc1
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
f1651c905a
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
6538a4cb03
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
Valery V Yatsko
fc8942feef
Restricted +O (operonly) channel mode to be set only by ircops
...
(chm_staff)
2008-08-04 21:59:58 +04:00
Jilles Tjoelker
43946961df
Move to ratbox3 reject and throttle code.
...
Throttle replaces max_unknown_ip, reject is like before
(including the charybdis-specific unkline handling).
Both of these now apply before SSL negotiation.
This commit does not include the global_cidr and new dline code.
m_webirc is a bit nasty with throttling (unlike before
with max_unknown_ip), this may be fixed later (or
the webirc IP needs to be exempt{}ed).
2008-08-01 01:59:08 +02:00
Jilles Tjoelker
eb463ef309
chm_operonly extension: use Unreal's numeric (520)
...
irssi still does not recognize this properly, oh well
2008-07-31 16:10:14 +02:00
Jilles Tjoelker
b0ccacd250
Add SENDBANS command (extension) to propagate xlines and resvs manually.
2008-07-29 00:09:03 +02:00
Valery Yatsko
b42eac7502
quick draft fix of ip_cloaking to make module work with ipv6 ips, cleanup later
2008-07-28 10:06:01 +04:00
Valery Yatsko
5440859e95
crypt -> rb_crypt in m_mkpasswd.c
2008-07-27 14:48:16 +04:00
Valery Yatsko
80ce25befa
SSL only channel mode extension - might be useful if server owner prefer not to use extended bans, or to make server feel like ircd-ratbox3
2008-07-27 12:47:40 +04:00
Valery Yatsko
216574bec7
Added chm_operonly to Makefile
2008-07-27 12:19:21 +04:00
Valery Yatsko
acdf71d9d2
A very draft version of extensions, which are adding can_join hooks for custom channel modes
2008-07-27 12:10:48 +04:00
Valery V Yatsko
40c1fd4799
PASS selector:password for auth{}, based on spb's patch for ircd-seven
2008-06-26 10:18:58 +04:00
William Pitcock
780a999fe7
extensions: no more TS5.
2008-06-08 01:31:15 -05:00
Jilles Tjoelker
732280d99e
olist: do not send operspy notices for nonexistent channels
2008-05-21 01:13:45 +02:00
Jilles Tjoelker
3d106847c5
olist: give proper error message if oper does not have oper_spy priv
2008-05-21 00:56:53 +02:00
Valery Yatsko
4562c60489
irc_string.h -> match.h, irc_string.h; includes changed
2008-04-20 09:47:38 +04:00
Valery Yatsko
cbe4e1ba31
legacy irc sprintf gone
2008-04-20 09:12:09 +04:00
Valery Yatsko
caa4d9d273
Various inet* -> rb_inet_*
2008-04-20 08:55:41 +04:00
Valery Yatsko
1f9de103c3
strlcat -> rb_strlcat
2008-04-20 08:44:04 +04:00
Valery Yatsko
f427c8b00d
strlcpy -> rb_strlcpy
2008-04-20 08:40:40 +04:00
Jilles Tjoelker
aae358c078
Remove various other gline stuff.
2008-04-11 17:10:40 +02:00
Valery Yatsko
170703fe3a
Removing glines
2008-04-11 18:47:03 +04:00
Valery Yatsko
79b0d5a330
.cvsignore files removed, SVN-Access replaced by Mercurial-Access
2008-04-09 22:24:50 +04:00
Valery Yatsko
c84557ac70
chm_* declarations gone to chmode.h - this makes some modules clean
2008-04-08 23:39:35 +04:00
Valery Yatsko
dbbe26fa00
New extensions documented + typo fixed
2008-04-08 23:24:47 +04:00