Jilles Tjoelker
7f4fa1956e
More changes for libratbox.
2008-04-01 23:11:11 +02:00
Jilles Tjoelker
bfccb2c0e1
Various changes for libratbox.
2008-04-01 23:03:14 +02:00
Jilles Tjoelker
9f6c335332
Change over some dlink functions.
2008-04-01 22:54:08 +02:00
William Pitcock
f14bcab7bc
patricia stuff
2008-04-01 15:44:55 -05:00
William Pitcock
8e69bb4e90
macro replacement
2008-04-01 15:43:10 -05:00
William Pitcock
af81d5a0b0
dlink -> rb_dlink
2008-04-01 15:41:52 -05:00
William Pitcock
38e6acddad
ircs[n]printf -> rb_s[n]printf
2008-04-01 15:38:40 -05:00
William Pitcock
31c047d725
Make this compile, but lots of warnings.
2008-04-01 15:26:43 -05:00
William Pitcock
581fa5c499
ircsprintf -> rb_sprintf
2008-04-01 15:21:53 -05:00
William Pitcock
08d11e34cc
start making this compile
2008-04-01 15:18:48 -05:00
William Pitcock
db6b03137d
bork bork bork
2008-04-01 15:14:08 -05:00
William Pitcock
c7b3ebc5c6
kill patricia.c
2008-04-01 15:11:03 -05:00
William Pitcock
4c1a91ed4b
Initialize libratbox.
2008-04-01 15:10:43 -05:00
William Pitcock
1ac6502183
Make this link without OpenSSL. This patch should go upstream.
2008-04-01 14:57:52 -05:00
William Pitcock
44674c4bb1
link against libratbox...
2008-04-01 14:55:00 -05:00
William Pitcock
e58085489a
Make buildsystem work.
2008-04-01 11:57:41 -05:00
William Pitcock
56efe9745d
Run autoreconf.
2008-04-01 11:53:46 -05:00
William Pitcock
b57f37fb6a
Pull in libratbox from ircd-ratbox-3.0.0beta1 and integrate into the build system.
2008-04-01 11:52:26 -05:00
William Pitcock
b37edd511a
Allow ENCAP GCAP to be reused to broadcast capability changes to the network.
...
This means that modules can now be added which change CAPs.
2008-04-01 11:45:46 -05:00
Jilles Tjoelker
c1d32bdf89
Clarify last sentence in that help file.
2008-03-31 00:42:04 +02:00
Jilles Tjoelker
8e0633f56f
Move PRIVS command from extensions to modules (shows effective oper privs).
2008-03-31 00:39:14 +02:00
Jilles Tjoelker
889b032125
Use ERR_DISABLED in CHGHOST and STATS e.
2008-03-30 20:02:55 +02:00
Jilles Tjoelker
bf7f01038e
Add ERR_DISABLED (517) from ircu.
2008-03-30 19:56:20 +02:00
William Pitcock
dcfcf3aa37
Some tweaks, apparently you can have multiple <author> tags now.
2008-03-30 01:54:14 -05:00
Jilles Tjoelker
5a34b193e6
Unbreak /quote help stats as an oper (all where oper and user help are different).
...
Remove symlink optimization, so helpfiles equal for
opers and users are loaded into memory twice, which
is not an issue.
2008-03-29 23:38:22 +01:00
Jilles Tjoelker
ff74c93aee
Use ERR_NOPRIVS when an oper is not allowed to see admin-only /stats.
...
This includes opers without the admin flag and admins on other servers.
2008-03-29 23:09:45 +01:00
Jilles Tjoelker
9b4ce61d2a
Fix type mismatch with format string.
...
Could have broken on some 64-bit machines.
2008-03-29 21:56:15 +01:00
Jilles Tjoelker
bf4c2e5bbf
Note that +i must be included in default_umodes.
2008-03-29 21:37:12 +01:00
Jilles Tjoelker
013726d7f6
Add force_user_invis extension from charybdis+sn.
...
Forces nonopers +i.
2008-03-29 21:36:39 +01:00
Jilles Tjoelker
af58bf737a
Fix compiler warning.
2008-03-29 21:36:11 +01:00
Jilles Tjoelker
230a6e6c41
Fix Invalid CAP subcommand error if the user has no nick.
2008-03-18 23:47:37 +01:00
Jilles Tjoelker
58067bff67
Cleanups to 005 code, from ratbox (androsyn).
2008-03-18 23:28:03 +01:00
Jilles Tjoelker
4d17e288b4
target change: use fnv32 hash of UID instead of pointer to identify clients
...
This way, the information remains valid after a split.
For clients on TS5 servers, the nick is used; this is
not much of a problem because these are on pseudoservers
and not assumed to change nick much at all.
2008-03-16 00:39:49 +01:00
Jilles Tjoelker
cb57dfe520
Generate include/serno.h from the hg revision data.
...
The code is inspired by the code in atheme-services, but
* it uses 'hg parents' instead of 'hg tip' so it will
also work if the working directory is not updated
to the latest version in the local repository
* the format is different (date-shorthash instead of
revnum:shorthash)
* some sort of serno.h is always generated, be it
"unknown" only
2008-03-12 18:44:47 +01:00
Jilles Tjoelker
f1297898f3
Hide cmode +r from 005 if there is no service{} block.
2008-03-11 23:56:23 +01:00
Jilles Tjoelker
c4b513f338
sgml docs: mention that connect::topicburst is now enabled by default
2008-03-11 21:58:13 +01:00
Jilles Tjoelker
825907755e
Clearer error messages for failed joins.
2008-03-11 19:48:58 +01:00
Jilles Tjoelker
26f754d989
Show some target change statistics in /stats t.
...
- the number of messages blocked by target change on
this server since it was started
- the number of IPs currently subject to a a lower
target limit on this server (these expire over time)
2008-03-02 17:03:56 +01:00
Jilles Tjoelker
3b0e68bf5e
Update copyright year in sgml documentation.
2008-02-29 20:18:09 +01:00
Jilles Tjoelker
7c0590f76c
Add more details to stats in sgml docs.
2008-02-29 17:10:20 +01:00
Jilles Tjoelker
181578b288
Update docs for change to masked stats k/K.
2008-02-29 16:27:55 +01:00
William Pitcock
fda6c724ea
Remove CHFL_DEOPPED entirely.
...
Since charybdis 2.3 will require TS6, emulating legacy semantics is
unnecessary.
2008-02-27 14:08:27 -06:00
Jilles Tjoelker
c240ecad4f
Remove CHFL_DEOPPED check from TMODE.
...
This check sometimes blocks oper overrides (OMODE).
It does not stop any hacks that the channelTS check
already stops, because CHFL_DEOPPED is only set when
this server ignored an @ in an incoming SJOIN (the
SJOIN is then propagated without the @) and this
can only be because of a TS difference.
2008-02-25 00:05:15 +01:00
Jilles Tjoelker
3499aa48d5
Fix a UID leak.
2008-02-04 23:56:13 +01:00
Jilles Tjoelker
a71d09f43f
Default connect::flags topicburst to true.
...
Use ~topicburst if you must disable it.
2008-02-02 17:15:34 +01:00
Jilles Tjoelker
d8027cae3e
Update /stats z for removal of struct User from whowas.
...
This was done in hybrid 5 or earlier...
2008-01-22 22:07:11 +01:00
Jilles Tjoelker
2386ae0477
send_linebuf_remote(): Remove broken and useless ghost check that can never happen.
...
Reasoning why it never does anything:
- the to = to->from line makes sure that MyConnect(to)
- then IsPerson(to) && (to == from->from) implies that to == from
- so MyClient(to)
- which cannot happen because it also wants that !MyClient(from)
Originally, the to = to->from line was below, and it did a
fake direction check, killing a client if servers could be
confused about it. The kill cannot do any good with TS6.
The fake direction check is and was performed by the
callers of send_linebuf_remote().
2008-01-17 01:06:32 +01:00
Jilles Tjoelker
4f5ec033bc
Fix some split servers not appearing in oper /map.
...
Needed another scache_split() call, in qs_server().
2008-01-16 19:53:42 +01:00
Jilles Tjoelker
1f8b58e769
Remove silly a2client_p, entirely pointless since User.server removal.
...
(and was pointless since Client.servptr was introduced)
2008-01-14 23:59:46 +01:00
Jilles Tjoelker
40aba72723
kline_exempt does not exempt from D:lines, so don't tell user it does.
2008-01-06 17:41:59 +01:00