Commit graph

76 commits

Author SHA1 Message Date
Valeriy Yatsko d2b6b9f308 [ratbox3 svn r26284 by androsyn] spew the libratbox version info on -version and at startup 2008-12-22 12:58:33 +03:00
William Pitcock 39a68b5376 ircd initialization: add a "default" privset with no privs. 2008-08-17 08:06:28 -05:00
Valery V Yatsko b1daa815bd fixed warnings on src/ircd.c compilation 2008-08-17 09:33:05 +04:00
Valery V Yatsko ec86417cee ircd-ratbox -> charybdis 2008-08-16 22:38:13 +04:00
Valery V Yatsko e1db84d87d seed random not even every 300 seconds, but on startup also 2008-08-16 22:30:28 +04:00
Valery V Yatsko 37cd159e94 egd fixed 2008-08-16 22:29:33 +04:00
Valery V Yatsko f01a7ff1e9 comment to fix egd (not work currently) 2008-08-16 22:24:28 +04:00
Valery V Yatsko 1a7848d87a ilog -> inotice in ircd_restart_cb (ircd.c) 2008-08-06 23:57:45 +04:00
Valery V Yatsko 6643434b59 from ircd-ratbox r25799 by androsyn: give a bit more info when libratbox calls logging callbacks 2008-08-06 23:12:02 +04:00
Jilles Tjoelker befa24c8fe Make the ircd start again. 2008-07-30 14:48:39 +02:00
Valery Yatsko adc7be98fc Removed unneeded includes from newconf.h 2008-07-28 23:14:51 +04:00
Valery Yatsko 6fce54ff82 Reordered functions to match ratbox3's order 2008-07-28 23:02:54 +04:00
Valery Yatsko cd27d99ce4 Removing '/* patricia */' declarations block as libratbox3 has this now, changed the order of variable declarations a bit 2008-07-27 16:25:00 +04:00
Valery Yatsko 6977926571 Cleanup: removed unused initialVMTop variable from ircd.c and get_maxrss() from restart.c 2008-07-27 16:18:50 +04:00
Valery V Yatsko 3664572833 New (and better) values for startup event timings 2008-06-28 14:50:21 +04:00
Valery V Yatsko 82fed37e11 Removed __CYGWIN__ define - server has no ability to work on cygwin right now 2008-06-28 14:46:03 +04:00
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 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 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 efccc22c27 Applying dyn-cmodes.diff - first step in implementing channel module
addition in extensions
2008-06-24 20:45:19 +04:00
Jilles Tjoelker b380384839 Show hg revision number (serno) in ircd -version. 2008-04-22 23:41:16 +02:00
Valery Yatsko 4562c60489 irc_string.h -> match.h, irc_string.h; includes changed 2008-04-20 09:47:38 +04:00
Valery Yatsko cbe4e1ba31 legacy irc sprintf gone 2008-04-20 09:12:09 +04:00
Valery Yatsko f427c8b00d strlcpy -> rb_strlcpy 2008-04-20 08:40:40 +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 8bd5767b95 Remove ^M on line endings. 2008-04-13 17:54:23 +02:00
Valery Yatsko 170703fe3a Removing glines 2008-04-11 18:47:03 +04:00
Valery Yatsko b3e9f8ebc2 Importing ratbox3 r25213 changeset 2008-04-09 23:22:51 +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 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 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 c6d7203732 ssl sync with http://hg.angelforce.ru/charybdis-old 2008-04-06 18:52:42 +04:00
Valery Yatsko 101db4c443 Much clear maxconnections stuff - ported from ratbox3. 2008-04-05 23:56:15 +04:00
Valery Yatsko 2af8c7ff8b Some global structs cleaned up a bit in their initalization and declarations. 2008-04-05 22:02:59 +04:00
Valery Yatsko 47adde3def s_stats.c removed, now we use new style of stats handling. 2008-04-04 19:54:37 +04:00
William Pitcock fd3f1b5b69 set_time() isn't needed anymore; remove it 2008-04-03 05:35:44 -05:00
William Pitcock 4016731b1c s_log.* -> logger.* (s_foo looks ugly, lets try to get rid of it) 2008-04-02 21:52:01 -05:00
William Pitcock 1d5d54832a setting maxconnections seems to get things going... 2008-04-02 20:45:24 -05:00
William Pitcock 33564d03b5 use rb_set_time() to update ratbox time 2008-04-02 20:26:00 -05:00
Jilles Tjoelker 150f35f7c2 Need to initialize linebuf separately. 2008-04-03 01:40:32 +02:00