Valery Yatsko
4998e3d6dc
More charybdis -> ratbox3
2008-04-02 15:02:45 +04:00
Valery Yatsko
3c5a494ddd
Fixing bugs
2008-04-02 14:43:53 +04:00
Valery Yatsko
7ee5e8a5fe
reject functions from ratbox3
2008-04-02 14:41:37 +04:00
Valery Yatsko
c11029da8a
Missed include
2008-04-02 14:37:40 +04:00
Valery Yatsko
b5cf99a8c3
s_stats workaround
2008-04-02 14:35:57 +04:00
Valery Yatsko
d8b66e8b52
sslproc.h include
2008-04-02 14:30:44 +04:00
Valery Yatsko
f888761cec
ssl_ok in ircd.{h,c}
2008-04-02 14:29:18 +04:00
Valery Yatsko
0ff67b4b83
hash_cli_fd(x)
2008-04-02 14:22:43 +04:00
Valery Yatsko
fc2998b46f
clientbyFdTable
2008-04-02 14:22:02 +04:00
Valery Yatsko
835b12ef61
Some hash stuff
2008-04-02 14:20:27 +04:00
Valery Yatsko
ae78a57163
Reverting to 398.. trying again with native charybdis hash
2008-04-02 14:16:31 +04:00
Valery Yatsko
b871b3263d
UMODE_DEBUG -> SNO_DEBUG
2008-04-02 14:01:32 +04:00
Valery Yatsko
85958381ad
hash.{h,c} from ratbox3, let's work around them! xD
2008-04-02 13:58:52 +04:00
Valery Yatsko
ba4936e2c5
extern declaration in ircd.h instead of ircd.c
2008-04-02 13:53:41 +04:00
Valery Yatsko
59323b9668
Reverting last commit
2008-04-02 13:52:05 +04:00
Valery Yatsko
5d1efcb253
fixing maxconnections -> rb_get_maxconnections()
2008-04-02 13:48:31 +04:00
Valery Yatsko
433a202989
Much more changes to remove compilation warnings
2008-04-02 13:43:11 +04:00
Valery Yatsko
f7e2c5b340
Trying again - this will need ssld integration from me
2008-04-02 13:32:14 +04:00
Valery Yatsko
f438bd836a
Reverting last commit to try again
2008-04-02 13:11:59 +04:00
Valery Yatsko
873487eb8f
Trying to migrate on ratbox3's listener.
2008-04-02 06:25:08 +04:00
William Pitcock
2847d2186e
fix ircd.c compilation
2008-04-01 20:56:54 -05:00
William Pitcock
11dd56fa8e
Automated merge with http://angelforce.ru:8000
2008-04-01 20:55:21 -05:00
Valery Yatsko
0edb29fa2e
Fixed a ratbox lib call as it is in ircd-ratbox-3
2008-04-02 05:47:12 +04:00
Valery Yatsko
12aea5fecd
event* -> rb_event*
2008-04-02 05:43:35 +04:00
William Pitcock
faefd28ac1
Automated merge with http://angelforce.ru:8000
2008-04-01 20:38:23 -05:00
William Pitcock
fa94d8fb93
make s_user.c build.
2008-04-01 20:36:50 -05:00
William Pitcock
c626889a84
make s_stats.c compile
2008-04-01 20:34:58 -05:00
William Pitcock
e410dcf545
make s_newconf.c compile
2008-04-01 20:34:02 -05:00
William Pitcock
6aae811eb3
fix s_log.
2008-04-01 20:31:26 -05:00
Valery Yatsko
adc6cc4278
client.c fixes + away stuff from ratbox3, part 2
2008-04-02 05:24:54 +04:00
William Pitcock
c75fdbfb29
fix restart.c
2008-04-01 20:11:11 -05:00
William Pitcock
b572cd7a75
fix reslib
2008-04-01 20:07:43 -05:00
William Pitcock
afdc068ce0
fix newconf.c
2008-04-01 20:04:03 -05:00
William Pitcock
95b3551e55
fix monitor.c
2008-04-01 20:03:40 -05:00
William Pitcock
301061562a
warning clean
2008-04-01 20:03:13 -05:00
William Pitcock
57fa364823
fix ircd_state.c
2008-04-01 20:01:48 -05:00
William Pitcock
90728508bb
fix irc_dictionary, and some ircd warnings
2008-04-01 20:01:25 -05:00
William Pitcock
c608a0619b
channel.c done!!!!
2008-04-01 19:56:51 -05:00
Valery Yatsko
398b6a7372
ok, trying to work on blockheap's stuff
2008-04-02 04:28:05 +04:00
Valery Yatsko
c2551f470d
BlockHeap -> rb_bh
2008-04-02 04:21:17 +04:00
Valery Yatsko
91e2f81c99
Prevent cork usage as charybdis doesn't have its support
2008-04-02 04:19:12 +04:00
Valery Yatsko
2296e5600f
Missed include.
2008-04-02 04:16:50 +04:00
Valery Yatsko
0ccdff98ac
fixing cache.c compilation - code stolen from ratbox3, with irc dictionary addition
2008-04-02 04:15:58 +04:00
Valery Yatsko
e335494516
CurrentTime -> rb_currenttime();
2008-04-02 03:53:20 +04:00
Valery Yatsko
47a0375094
DubString -> rb_strdup
2008-04-02 03:26:34 +04:00
Valery Yatsko
eddc2ab6d8
MyMalloc -> rb_malloc
2008-04-02 03:07:29 +04:00
Valery Yatsko
300a543344
away stuff from ratbox3
2008-04-02 03:03:15 +04:00
Valery Yatsko
423f18a073
monitor.{c,h} stuff for libratbox3.
2008-04-02 02:55:34 +04:00
Valery Yatsko
637c4932f6
Argh, wrong replace caused by MS VS 2005 interface.
2008-04-02 02:47:17 +04:00
Valery Yatsko
bd19829278
MyFree -> rb_free
2008-04-02 02:45:16 +04:00
Valery Yatsko
81af5bcb39
libcharybdis includes gone.
2008-04-02 02:39:19 +04:00
Valery Yatsko
f24a7dfbaf
Removing libcharybdis references.
2008-04-02 02:18:44 +04:00
Jilles Tjoelker
734d420e14
Some changes for libratbox.
2008-04-02 00:10:51 +02:00
Jilles Tjoelker
3b2ebd04de
Make send.c compile, except for ziplinks.
2008-04-01 23:51:34 +02:00
William Pitcock
434028d031
rb_event_add ;)
2008-04-01 16:26:23 -05:00
William Pitcock
fa8328508d
Make m_set compile.
2008-04-01 16:25:22 -05:00
Jilles Tjoelker
7018b86a12
More changes for libratbox.
2008-04-01 23:11:11 +02:00
William Pitcock
944e17ac4f
patricia stuff
2008-04-01 15:44:55 -05:00
William Pitcock
5cefa1d6c8
macro replacement
2008-04-01 15:43:10 -05:00
William Pitcock
330fc5c10c
dlink -> rb_dlink
2008-04-01 15:41:52 -05:00
William Pitcock
b2f0da886e
ircs[n]printf -> rb_s[n]printf
2008-04-01 15:38:40 -05:00
William Pitcock
5b96d9a6b9
start making this compile
2008-04-01 15:18:48 -05:00
William Pitcock
d56734d6dd
bork bork bork
2008-04-01 15:14:08 -05:00
William Pitcock
75bb1a639c
kill patricia.c
2008-04-01 15:11:03 -05:00
William Pitcock
24e9341af3
Initialize libratbox.
2008-04-01 15:10:43 -05:00
William Pitcock
ecc31a989c
link against libratbox...
2008-04-01 14:55:00 -05:00
Jilles Tjoelker
7b7e1640de
Move PRIVS command from extensions to modules (shows effective oper privs).
2008-03-31 00:39:14 +02:00
Jilles Tjoelker
bd710c8837
Add ERR_DISABLED (517) from ircu.
2008-03-30 19:56:20 +02:00
Jilles Tjoelker
85550587fb
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
8682f1cb32
Fix type mismatch with format string.
...
Could have broken on some 64-bit machines.
2008-03-29 21:56:15 +01:00
Jilles Tjoelker
48a266e5da
Cleanups to 005 code, from ratbox (androsyn).
2008-03-18 23:28:03 +01:00
Jilles Tjoelker
7478545cb2
Hide cmode +r from 005 if there is no service{} block.
2008-03-11 23:56:23 +01:00
Jilles Tjoelker
3b005693bd
Clearer error messages for failed joins.
2008-03-11 19:48:58 +01:00
Jilles Tjoelker
43f8445df3
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
aed5ce90a5
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
5aa453a47f
Default connect::flags topicburst to true.
...
Use ~topicburst if you must disable it.
2008-02-02 17:15:34 +01:00
Jilles Tjoelker
309e4fd03f
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
8d0d947de8
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
19807b5b97
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
c7874951aa
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
5ca543e7c5
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
e4b9c8e115
Add two missing colons for sendto_one_notice().
2008-01-06 00:12:51 +01:00
Jilles Tjoelker
19c13ce523
flag_table -> oper_table (more descriptive name)
2008-01-05 22:51:09 +01:00
Jilles Tjoelker
b4838ccdf5
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
962747349b
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
05ee179e43
Update some copyright years.
2008-01-02 22:34:29 +01:00
Jilles Tjoelker
137d856d65
Only accept 127.0.0.x as a dnsbl listing.
2008-01-02 22:32:09 +01:00
Jilles Tjoelker
85e132a46f
Update main copyright year.
2008-01-02 00:09:50 +01:00
Jilles Tjoelker
c8de4f0037
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
cdd5b26189
Remove idle time checking (auto disconnecting users idle too long).
2008-01-01 23:04:34 +01:00
Jilles Tjoelker
c4f13a6499
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
f56fdec2a0
Fix a crash when connecting to a server.
2008-01-01 18:47:10 +01:00
Jilles Tjoelker
a63a1eab74
STATS I: Show spoofed auth{} blocks and ^<> flags to remote opers also.
2008-01-01 18:25:04 +01:00
Jilles Tjoelker
997613d2f3
Fix a crash after a local client exits.
2008-01-01 18:15:56 +01:00
Jilles Tjoelker
d61de0adff
Remove various obsolete ConfItem statuses (types) and flags.
2008-01-01 16:06:59 +01:00
Jilles Tjoelker
7a8dcc086d
Remove long obsolete comment.
2007-12-28 23:23:15 +01:00
William Pitcock
c5c2f506c1
Replace int fd; in local client object with an fde object.
2007-12-28 15:06:33 -06:00
Jilles Tjoelker
35cf4c7998
Use connect_timeout for handshakes; add snote and log when they time out.
2007-12-28 16:38:39 +01:00
Jilles Tjoelker
e2a980439e
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
06b697a268
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