Commit Graph

798 Commits

Author SHA1 Message Date
Valery V Yatsko fd4535aa50 Remove srand() from main(), we are using ratbox3 random number generator (ev) 2008-06-28 14:36:25 +04:00
Valery V Yatsko 51b0223e4d 'empty_sockhost = "255.255.255.255"' const for report_this_status 2008-06-28 14:27:33 +04:00
Valery V Yatsko 3db8104751 report_this_status: declaration changed 2008-06-28 14:25:31 +04:00
Valery V Yatsko af7c236800 report_this_status fixed 2008-06-28 14:24:18 +04:00
Valery V Yatsko 715b28fefd Applied svn diff from ratbox3 r21458:21470 2008-06-28 14:13:50 +04:00
Valery V Yatsko 4fd52c8c20 notify_banned_client cleaned up 2008-06-28 12:56:58 +04:00
Valery V Yatsko bb79db15d7 1. Removed stupid initUser() function outside of all heaps initializations
2. Cleaned up make_client
2008-06-28 12:49:27 +04:00
Valery V Yatsko 6992eef0b5 *_heap declaration related to client.c are now in client.c + current_uid too 2008-06-28 12:44:19 +04:00
Valery V Yatsko 9a67ad23d9 Remove Channel->users_last, used nowhere 2008-06-28 12:25:53 +04:00
Valery V Yatsko a2eb0d5913 Removed unneeded '*_ev = NULL' statements 2008-06-28 12:12:18 +04:00
Valery V Yatsko 9813daca73 'struct config_channel_entry ConfigChannel' in channel.c too 2008-06-28 12:02:51 +04:00
Valery V Yatsko 1a218aaf75 'rb_dlink_list global_channel_list' declaration moved to channel.c 2008-06-28 12:00:01 +04:00
Valery V Yatsko 5475a9321f channel_heap,ban_heap,topic_heap,member_heap declared statically in channel.c instead of ircd.{c,h} 2008-06-28 11:54:51 +04:00
Valery V Yatsko c735f93023 Pretty symlink logic for help files 2008-06-28 11:48:30 +04:00
Valery V Yatsko 7dd98666cc untabify function added to cache.c:
removes tabs from src, replaces with 8 spaces, and returns the length
of the new string.  if the new string would be greater than destlen,
it is truncated to destlen - 1
2008-06-28 11:22:43 +04:00
Valery V Yatsko df22ecbf77 sync ssld with ratbox3 repository: now r25594 + charybdis related changes 2008-06-26 21:21:46 +04:00
Valery V Yatsko cddb360c6b update TODO 2008-06-26 21:19:41 +04:00
Valery V Yatsko 03d5e1e46b Fix compilation without zlib headers present, from the ratbox3 upstream 2008-06-26 21:19:19 +04:00
Valery V Yatsko 913bafd10e update TODO 2008-06-26 10:28:01 +04:00
Valery V Yatsko 6a95f26eaf unlikely -> rb_unlikely 2008-06-26 10:19:27 +04:00
Valery V Yatsko 969a1ae66a PASS selector:password for auth{}, based on spb's patch for ircd-seven 2008-06-26 10:18:58 +04:00
Valery V Yatsko ccfcd3519f update TODO 2008-06-26 09:44:07 +04:00
Valery V Yatsko 38d3826839 TODO: done: merge with libratbox SVN 2008-06-26 09:34:27 +04:00
Valery V Yatsko 033be68727 sync libratbox - r25599 + charybdis packaging patch 2008-06-25 09:28:30 +04:00
Valery V Yatsko d9af2dddd3 Branch merge 2008-06-25 07:52:38 +04:00
William Pitcock 61e3099998 update TODO 2008-06-25 22:35:44 -05:00
Jilles Tjoelker 92a74bc4a6 Some updates and consistency fixes to help files. 2008-06-25 23:52:28 +02:00
Valery V Yatsko 2392eb24cd Generating cflags bufs dynamically: one for RPL_MYINFO and one for
supported.c
2008-06-25 07:51:32 +04:00
Valery V Yatsko 57d299acbd Merged find_orphaned_cflags and construct_noparam_modes in one function
as there's no reason to use them separetly
2008-06-25 07:13:58 +04:00
Valery V Yatsko c3f71f606e TODO: done: more beautiful way of adding new channel modes by module 2008-06-24 22:30:14 +04:00
Valery V Yatsko 6b3b07a84e New way of noparam mode search 2008-06-24 22:21:26 +04:00
Valery V Yatsko eba517019e Missed declaration of chm_orphaned 2008-06-24 22:08:24 +04:00
Valery V Yatsko 058aa02c4a New orphaned cflags implementation, now using chm_orphaned instead of
storing orphaned flags in a variable
2008-06-24 22:00:41 +04:00
Jilles Tjoelker 040c4408ed Fix some tracking for cmode +r. 2008-06-25 19:40:12 +02:00
Jilles Tjoelker c08f4515a9 Fix limits on simple modes.
Formerly some mode strings like +svvvv were not accepted.
2008-06-25 19:27:30 +02:00
Valery V Yatsko 73de5d22ed A draft version of find_cmode_slot and orphaned concept for channel
flags
2008-06-24 21:26:49 +04:00
Valery V Yatsko e600f6b488 TODO: btw, this could be useful: allow to set up configfiles path (etc/)
instead of separated configfiles names (kline.conf, ircd.conf etc) like
it is in ratbox3?
2008-06-24 20:54:43 +04:00
Valery V Yatsko 081ad25f69 TODO: 'module engine rework' has begun 2008-06-24 20:46:39 +04:00
Valery V Yatsko 75818939ab Applying dyn-cmodes.diff - first step in implementing channel module
addition in extensions
2008-06-24 20:45:19 +04:00
Valery V Yatsko 193b048113 Added info about two bugs (features?) which must be fixed: 1.
compilation without zlib headers 2. compilation time locale
2008-06-23 03:23:33 +04:00
Valery V Yatsko c481073ea9 Marked that stable version is 3.0 instead of 2.2 2008-06-23 03:19:53 +04:00
Jilles Tjoelker 30e0808268 ident: use rb_read/rb_write instead of direct syscalls 2008-06-21 02:29:21 +02:00
Jilles Tjoelker 0a93f25c7a ident: obtain port numbers earlier and store them
This eliminates two syscalls per ident lookup.
It also removes a piece of code that depends on
the port fields being in the same location for
sockaddr_in and sockaddr_in6.
2008-06-21 01:52:57 +02:00
Jilles Tjoelker e8c4b8b290 ident: Check getsockname() return value. 2008-06-21 01:27:17 +02:00
Jilles Tjoelker ed28210c45 Clean up s_auth a little. No functional changes. 2008-06-21 00:58:08 +02:00
Jilles Tjoelker eb66895a34 Rerun autoconf. 2008-06-21 00:27:16 +02:00
Jilles Tjoelker 081f7ac384 Change == in test(1) to =.
libratbox r25570 (jilles)
2008-06-21 00:27:00 +02:00
Jilles Tjoelker 13818e2470 Remove unused field ip6_int. 2008-06-20 22:55:51 +02:00
Jilles Tjoelker 8813d184e3 Do not timeout unknowns if still waiting for blacklist lookup.
This fixes inability to connect if all DNS queries
time out and any blacklists are defined.
2008-06-20 01:49:53 +02:00
Jilles Tjoelker 3e6a6891a1 Get rid of ", " at the start of some oper privs strings. 2008-06-18 21:58:43 +02:00