Valery V Yatsko
b2064202fb
Removed SystemTime declaration
2008-06-28 14:38:27 +04:00
Valery V Yatsko
3d3d1a95bb
Remove srand() from main(), we are using ratbox3 random number generator (ev)
2008-06-28 14:36:25 +04:00
Valery V Yatsko
b3ebc7ab9e
Applied svn diff from ratbox3 r21458:21470
2008-06-28 14:13:50 +04:00
Valery V Yatsko
405ae5ce44
notify_banned_client cleaned up
2008-06-28 12:56:58 +04:00
Valery V Yatsko
b09cbaa315
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
5433b83e8f
*_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
b4407833bd
Remove Channel->users_last, used nowhere
2008-06-28 12:25:53 +04:00
Valery V Yatsko
18e4d42137
'struct config_channel_entry ConfigChannel' in channel.c too
2008-06-28 12:02:51 +04:00
Valery V Yatsko
c3d1034381
'rb_dlink_list global_channel_list' declaration moved to channel.c
2008-06-28 12:00:01 +04:00
Valery V Yatsko
b617afdc02
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
4231cedcea
Pretty symlink logic for help files
2008-06-28 11:48:30 +04:00
Valery V Yatsko
22b98b1ed1
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
af41336ae5
unlikely -> rb_unlikely
2008-06-26 10:19:27 +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
Valery V Yatsko
c18cb68b91
Generating cflags bufs dynamically: one for RPL_MYINFO and one for
...
supported.c
2008-06-25 07:51:32 +04:00
Valery V Yatsko
9bec26cc38
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
f588b95674
New way of noparam mode search
2008-06-24 22:21:26 +04:00
Valery V Yatsko
cbed45a2da
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
d463189921
Fix some tracking for cmode +r.
2008-06-25 19:40:12 +02:00
Jilles Tjoelker
84c9a8c7be
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
46d59e1138
A draft version of find_cmode_slot and orphaned concept for channel
...
flags
2008-06-24 21:26:49 +04:00
Valery V Yatsko
efccc22c27
Applying dyn-cmodes.diff - first step in implementing channel module
...
addition in extensions
2008-06-24 20:45:19 +04:00
Jilles Tjoelker
dd1b211fae
ident: use rb_read/rb_write instead of direct syscalls
2008-06-21 02:29:21 +02:00
Jilles Tjoelker
d0ebe1bcb2
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
d5d5e89c98
ident: Check getsockname() return value.
2008-06-21 01:27:17 +02:00
Jilles Tjoelker
1a53072881
Clean up s_auth a little. No functional changes.
2008-06-21 00:58:08 +02:00
Jilles Tjoelker
6bb4fb832b
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
f8a8d16e52
Get rid of ", " at the start of some oper privs strings.
2008-06-18 21:58:43 +02:00
Jilles Tjoelker
8e9623ab59
resolver: Remove effectively unused 'resend' flag.
2008-06-15 15:53:04 +02:00
Jilles Tjoelker
dd1bfa0de1
resolver: Remove request_state which is no longer used.
2008-06-15 01:17:42 +02:00
Jilles Tjoelker
c889c12f3a
Allow CNAMEs everywhere, named will have recursed into them for us.
...
This makes PTRs containing names that are a CNAME
for an A (instead of an A) work. While this is
probably bad practice, some people do it and most
other ircds seem to accept it.
2008-06-15 00:57:15 +02:00
Jilles Tjoelker
ba301effe1
Remove construction of some TS5 linebufs.
2008-06-14 02:30:30 +02:00
Jilles Tjoelker
982ef94983
Remove more TS5 remants (sendto_server calls).
2008-06-14 02:06:55 +02:00
Jilles Tjoelker
fd44b8518a
Unbreak sending out bans and simple modes with parameters.
2008-06-13 22:21:44 +02:00
Jilles Tjoelker
6ab8c0d318
Get rid of some K&R style function declarations for conf parser.
2008-06-11 00:54:02 +02:00
Jilles Tjoelker
a3143c9b6b
Some const stuff for m_set.
2008-06-11 00:28:08 +02:00
William Pitcock
469c9689c1
More TS6 special cases simplified.
2008-06-08 02:16:43 -05:00
William Pitcock
23489ed776
Remove one last bit of TS5 stuff.
2008-06-08 02:14:21 -05:00
William Pitcock
032515f48c
Forgot to test the bitmask, oops.
2008-06-08 02:13:26 -05:00
William Pitcock
0866cef3c1
Replace old 2.8-style privileges notice with a new one.
2008-06-08 02:09:15 -05:00
William Pitcock
ca273a1c73
core: no more TS5
2008-06-08 01:29:26 -05:00
William Pitcock
7bb8c655ec
Remove burst_modes_TS5() and burst_TS5().
2008-06-08 01:11:57 -05:00
Jilles Tjoelker
794816af01
Check for the -rpath linker flag.
...
This makes it build on MacOS X which neither
supports nor needs this flag.
2008-05-17 17:46:37 +02:00
Jilles Tjoelker
b380384839
Show hg revision number (serno) in ircd -version.
2008-04-22 23:41:16 +02:00
Jilles Tjoelker
b7bb965735
Don't try to fflush a file we just closed.
...
ircd-ratbox r25251 (androsyn)
2008-04-22 00:45:43 +02:00
Jilles Tjoelker
121b641409
Remove obsolete comment.
...
DNS lookups should be done prior to usage of an item,
not when loading the configuration.
2008-04-20 15:33:23 +02:00
Jilles Tjoelker
fd5c370711
Remove conf_connect_allowed(), neither used nor declared.
2008-04-20 15:32:08 +02:00
Jilles Tjoelker
896755fe0d
Move some declarations to header files, this enforces that they match.
2008-04-20 15:30:24 +02:00
Jilles Tjoelker
2e819b6b3e
Fix various compiler warnings.
2008-04-20 15:20:10 +02:00
Jilles Tjoelker
9eea5de11d
Remove silly cast that caused a compiler warning.
2008-04-20 14:47:34 +02:00
Valery Yatsko
f5cb68d51d
Remote d:lines implementation (based on ircd-seven's r230 by spb, Stephen Bennett <spb@attenuate.org>)
2008-04-20 11:26:37 +04:00
William Pitcock
ab4285181c
Remainder of irc_string.* is moved to new inline/stringops.h.
2008-04-20 01:03:11 -05:00
Valery Yatsko
4562c60489
irc_string.h -> match.h, irc_string.h; includes changed
2008-04-20 09:47:38 +04:00
Valery Yatsko
decf0486cc
strip_tabs() is related to s_conf.c ONLY - moved it there
2008-04-20 09:38:26 +04:00
Valery Yatsko
e3b33fe3e6
clean_string() is related to m_links.c ONLY - moved it there
2008-04-20 09:35:22 +04:00
Valery Yatsko
4a2651e520
strtoken -> rb_strtok_r (with arguments order changes)
2008-04-20 09:20:25 +04:00
Valery Yatsko
cbe4e1ba31
legacy irc sprintf gone
2008-04-20 09:12:09 +04:00
Valery Yatsko
08d75d9702
myctime -> rb_ctime
2008-04-20 09:03:39 +04:00
Valery Yatsko
e6be5558e4
no need for inetntop* now - removed
2008-04-20 08:57:25 +04:00
Valery Yatsko
caa4d9d273
Various inet* -> rb_inet_*
2008-04-20 08:55:41 +04:00
Valery Yatsko
79c70bbb9c
Missed file from previous changeset
2008-04-20 08:46:04 +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
Valery Yatsko
6af128685d
Functions replacement: ircd_baseXX_{en,de}code -> rb_baseXX_{en,de}code
2008-04-20 08:36:28 +04:00
Valery Yatsko
d80645d0e2
'reseed_srand' event - libratbox and various ssl stuff need it
2008-04-20 08:26:14 +04:00
Valery Yatsko
f20a07457b
Remove rb_checktimeouts event init from ircd.c - it's inside libratbox now
2008-04-20 08:14:22 +04:00
Valery Yatsko
ea82a3ca27
Splitted open_logfiles(); into open_logfiles(); and close_logfiles();, use the second one on ircd_shutdown
2008-04-20 07:42:30 +04:00
Valery Yatsko
fd5af3d072
Moving some m_die code into ircd_shutdown(reason) function and use it on SIGTERM too
2008-04-20 07:38:56 +04:00
Valery Yatsko
041d54ff4b
Switched on using cache_user_motd(); for motd update on rehash
2008-04-20 07:24:50 +04:00
Jilles Tjoelker
3eabb958a7
Improve SIGCHLD handler
...
- Reap multiple zombies per signal
- Save and restore errno
ircd-ratbox r25239
2008-04-18 01:01:38 +02:00
Jilles Tjoelker
8bd5767b95
Remove ^M on line endings.
2008-04-13 17:54:23 +02:00
William Pitcock
de4d47a12a
New operline based on ranting from ccr.
2008-04-12 18:56:46 -05:00
Jilles Tjoelker
aae358c078
Remove various other gline stuff.
2008-04-11 17:10:40 +02:00
Valery Yatsko
eae062741d
'You are exempt from...' message fixed - glines gone
2008-04-11 19:09:19 +04:00
Valery Yatsko
453ea2fde8
Fixing compilation - CAP_GLN removed
2008-04-11 18:56:53 +04:00
Valery Yatsko
170703fe3a
Removing glines
2008-04-11 18:47:03 +04:00
Valery Yatsko
8982edb068
Fixing time_t warnings
2008-04-09 23:34:34 +04:00
Valery Yatsko
b3e9f8ebc2
Importing ratbox3 r25213 changeset
2008-04-09 23:22:51 +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
Jilles Tjoelker
01e9b1eb3b
Fix some warnings in the resolver code.
2008-04-08 19:55:51 +02:00
Jilles Tjoelker
6db4fb0a9b
Make Dictionary keys const everywhere.
2008-04-08 19:52:02 +02:00
Jilles Tjoelker
8262273238
Make the format argument of change_nick_user_host() const.
2008-04-08 18:54:58 +02:00
Valery Yatsko
26716d6d40
Fixed two places, where sendto_realops_flags was mistakenly used, and removed this function entirely
2008-04-08 20:32:58 +04:00
Valery Yatsko
536845c57d
Removing UMODE_ALL, replacing all sendto_realops_flags in sslproc.c with snomasks
2008-04-08 20:16:19 +04:00
Valery Yatsko
39944e1ff2
rb_lib_loop delay changed from 250 to 0, it really must be set to nil, 'cause there are some additional checks inside libratbox3
2008-04-08 18:09:32 +04:00
Valery Yatsko
b2c42c4589
Branch merge
2008-04-08 18:01:37 +04:00
Valery Yatsko
4c79bbd350
Working over zipstats bug and moving on the new ServerStats struct (without Kb counting, this style is used by code parts from ratbox3)
2008-04-08 18:00:38 +04:00
Valery Yatsko
b5b84cad5d
Oups, declarations related to ircd.c returned from ircd_state.c
2008-04-08 16:01:16 +04:00
Valery Yatsko
1aad97824b
Cleaned up ircd.c a bit and added additional check to ircd_die_cb()
2008-04-08 15:50:39 +04:00
Valery Yatsko
72324d1052
ircd_state.{c,h} gone - let us redesign it in future really
2008-04-08 15:41:41 +04:00
Valery Yatsko
31fd33171e
ServerRunning is not used too
2008-04-08 15:38:18 +04:00
Valery Yatsko
aa6c90dec7
It seems that we don't use data structs version anywhere since 1.2.0 - removed
2008-04-08 15:36:56 +04:00
Valery Yatsko
f4a759c560
show_capabilities cleanup and now show whether we are TS or TS6 and SSL link
2008-04-07 20:21:09 +04:00
Valery Yatsko
bbe968ca0c
Make charybdis not search m_sjoin as its a core module
2008-04-07 20:06:04 +04:00
William Pitcock
af7aaa8444
fix whois :)
2008-04-06 12:04:25 -05:00
William Pitcock
3318e109f9
add umode +Z for SSL, can't be set or unset
2008-04-06 11:55:12 -05:00
William Pitcock
f845191560
make this compile again
2008-04-06 11:33:34 -05:00
Valery Yatsko
c6d7203732
ssl sync with http://hg.angelforce.ru/charybdis-old
2008-04-06 18:52:42 +04:00
Jilles Tjoelker
f1eccc3420
Branch merge.
2008-04-05 22:34:13 +02:00