Commit Graph

148 Commits

Author SHA1 Message Date
Valery Yatsko cc200171d7 libcharybdis includes gone. 2008-04-02 02:39:19 +04:00
Valery Yatsko 2393f503a6 Removing libcharybdis references. 2008-04-02 02:18:44 +04:00
Jilles Tjoelker 527ec9116a Some changes for libratbox. 2008-04-02 00:10:51 +02:00
Jilles Tjoelker 780087dc8e Make send.c compile, except for ziplinks. 2008-04-01 23:51:34 +02:00
William Pitcock d665092128 rb_event_add ;) 2008-04-01 16:26:23 -05:00
William Pitcock ccfe0e9712 Make m_set compile. 2008-04-01 16:25:22 -05:00
Jilles Tjoelker 7f4fa1956e More changes for libratbox. 2008-04-01 23:11:11 +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 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 44674c4bb1 link against libratbox... 2008-04-01 14:55:00 -05: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 bf7f01038e Add ERR_DISABLED (517) from ircu. 2008-03-30 19:56:20 +02: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 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 58067bff67 Cleanups to 005 code, from ratbox (androsyn). 2008-03-18 23:28:03 +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 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
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 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 40aba72723 kline_exempt does not exempt from D:lines, so don't tell user it does. 2008-01-06 17:41:59 +01:00
Jilles Tjoelker 7506208c5c Remove FLAGS2_NOLIMIT (IsExemptLimits/SetExemptLimits).
This only has an effect at connection time, and the
ConfItem flag suffices for that.
2008-01-06 00:16:57 +01:00
Jilles Tjoelker d1264ac892 Add two missing colons for sendto_one_notice(). 2008-01-06 00:12:51 +01:00
Jilles Tjoelker d2b16c2012 flag_table -> oper_table (more descriptive name) 2008-01-05 22:51:09 +01:00
Jilles Tjoelker d180319a9d Show full flag name, not letter, when refusing to set umode +s +n or +a. 2008-01-05 01:37:03 +01:00
Jilles Tjoelker c41a85dfb6 Send a rate-limited server notice if a blacklist gives a non-127.0.0.x reply. 2008-01-05 00:38:23 +01:00
Jilles Tjoelker eb6e811fba Update some copyright years. 2008-01-02 22:34:29 +01:00
Jilles Tjoelker bc71fb3f36 Only accept 127.0.0.x as a dnsbl listing. 2008-01-02 22:32:09 +01:00
Jilles Tjoelker 3055cb798c Update main copyright year. 2008-01-02 00:09:50 +01:00
Jilles Tjoelker 5be2a08be3 Include time the k/d line was set in the reason when reading ban confs.
This correspond to what happens when a kline or dline is set.
2008-01-02 00:06:08 +01:00
Jilles Tjoelker e54995b150 Remove idle time checking (auto disconnecting users idle too long). 2008-01-01 23:04:34 +01:00
Jilles Tjoelker bd03481bde STATS I and TESTMASK: Show some more auth{} flags.
flood_exempt (|), dnsbl_exempt ($), gline_exempt (_)
All these are only shown to opers.
2008-01-01 21:54:27 +01:00
Jilles Tjoelker 1eea3afa43 Fix a crash when connecting to a server. 2008-01-01 18:47:10 +01:00
Jilles Tjoelker 331c47e00a STATS I: Show spoofed auth{} blocks and ^<> flags to remote opers also. 2008-01-01 18:25:04 +01:00
Jilles Tjoelker 24350e6234 Fix a crash after a local client exits. 2008-01-01 18:15:56 +01:00
Jilles Tjoelker 4d23dfbcb5 Remove various obsolete ConfItem statuses (types) and flags. 2008-01-01 16:06:59 +01:00
Jilles Tjoelker 06e080f3e8 Remove long obsolete comment. 2007-12-28 23:23:15 +01:00
William Pitcock de0572442e Replace int fd; in local client object with an fde object. 2007-12-28 15:06:33 -06:00
Jilles Tjoelker 16d59a0d4a Use connect_timeout for handshakes; add snote and log when they time out. 2007-12-28 16:38:39 +01:00
Jilles Tjoelker e883cf07e7 Remove code for unregistered clients from check_pings_list()
because it is only called for lists of registered clients.
2007-12-28 16:17:39 +01:00
Jilles Tjoelker d23bc305d6 Make remote numerics to channels work.
Note that +D clients do not get these.  This is consistent
with how ircu treats remote numerics and with how we treat
server notices from other servers, but not with how locally
generated notices and numerics are sent also to +D clients.
2007-12-26 22:46:43 +01:00