Commit Graph

233 Commits

Author SHA1 Message Date
Valery Yatsko aa3c732376 switching back on nd_dict instead of ratbox3 hash functions 2008-04-02 14:11:01 +04:00
Valery Yatsko 505c5339f9 LocalUser struct changes 2008-04-02 14:07:14 +04:00
Valery Yatsko 4c5a31dfa0 LOCAL_COPY_N macro 2008-04-02 14:03:16 +04:00
Valery Yatsko db3ff62e3b nd_entry struct from ratbox3 2008-04-02 14:00:41 +04:00
Valery Yatsko 162828b85d hash.{h,c} from ratbox3, let's work around them! xD 2008-04-02 13:58:52 +04:00
Valery Yatsko dbb537badf 'lip' added in LocalUser struct 2008-04-02 13:55:17 +04:00
Valery Yatsko 58f3e38756 extern declaration in ircd.h instead of ircd.c 2008-04-02 13:53:41 +04:00
Valery Yatsko c3a90b617f Much more changes to remove compilation warnings 2008-04-02 13:43:11 +04:00
Valery Yatsko 964f08d839 This define is in libratbox config.h 2008-04-02 13:40:07 +04:00
Valery Yatsko 79edef0918 Trying again - this will need ssld integration from me 2008-04-02 13:32:14 +04:00
Valery Yatsko 55eeaea101 Reverting last commit to try again 2008-04-02 13:11:59 +04:00
Valery Yatsko ae9fc63bfd Trying to migrate on ratbox3's listener. 2008-04-02 06:25:08 +04:00
Valery Yatsko f503e634fd DupNString removed - we don't need it now 2008-04-02 06:00:24 +04:00
William Pitcock 304ded9583 yet another autoreconf run. 2008-04-01 20:55:40 -05:00
William Pitcock f99c7b64cb run autoreconf. 2008-04-01 20:40:26 -05:00
William Pitcock 738971829f make s_user.c build. 2008-04-01 20:36:50 -05:00
Valery Yatsko 6e9b4415cc ok, trying to work on blockheap's stuff 2008-04-02 04:28:05 +04:00
Valery Yatsko acc2595cc3 fixing cache.c compilation - code stolen from ratbox3, with irc dictionary addition 2008-04-02 04:15:58 +04:00
Valery Yatsko 9f6bbe3cf9 CurrentTime -> rb_currenttime(); 2008-04-02 03:53:20 +04:00
Valery Yatsko b8127271b7 extern void send_pop_queue(struct Client *); in header, will implement this some time later 2008-04-02 03:39:08 +04:00
Valery Yatsko 06c0995c9b ircd_defs.h declaration in stdinc.h - needed for some reasons. 2008-04-02 03:31:31 +04:00
Valery Yatsko 7118180f5a Returned back declaration I've mistakenly removed. 2008-04-02 03:28:15 +04:00
Valery Yatsko 62d289465f DubString -> rb_strdup 2008-04-02 03:26:34 +04:00
Valery Yatsko ece36b7b5d away stuff from ratbox3 2008-04-02 03:03:15 +04:00
Valery Yatsko f0a889b602 monitor.{c,h} stuff for libratbox3. 2008-04-02 02:55:34 +04:00
Valery Yatsko cc200171d7 libcharybdis includes gone. 2008-04-02 02:39:19 +04:00
Jilles Tjoelker 780087dc8e Make send.c compile, except for ziplinks. 2008-04-01 23:51:34 +02: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
Jilles Tjoelker bfccb2c0e1 Various changes for libratbox. 2008-04-01 23:03:14 +02: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
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 58067bff67 Cleanups to 005 code, from ratbox (androsyn). 2008-03-18 23:28:03 +01:00
Jilles Tjoelker 4d17e288b4 target change: use fnv32 hash of UID instead of pointer to identify clients
This way, the information remains valid after a split.
For clients on TS5 servers, the nick is used; this is
not much of a problem because these are on pseudoservers
and not assumed to change nick much at all.
2008-03-16 00:39:49 +01:00
Jilles Tjoelker cb57dfe520 Generate include/serno.h from the hg revision data.
The code is inspired by the code in atheme-services, but
* it uses 'hg parents' instead of 'hg tip' so it will
  also work if the working directory is not updated
  to the latest version in the local repository
* the format is different (date-shorthash instead of
  revnum:shorthash)
* some sort of serno.h is always generated, be it
  "unknown" only
2008-03-12 18:44:47 +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 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 f726dd0928 Use a more expected value for SHARED_TRESV. 2008-01-05 14:58:13 +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 acba5bbe80 config.h: remove some obsolete options, move MAX_BUFFER to tunable section 2008-01-04 18:42:59 +01:00
Jilles Tjoelker 493a1c6f02 Overwrite config.h.dist with config.h.
config.h.dist serves no purpose other than a backup copy
for local changes to config.h
2008-01-04 18:33:36 +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 4d23dfbcb5 Remove various obsolete ConfItem statuses (types) and flags. 2008-01-01 16:06:59 +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 2a719c44c0 Consolidate duplicate channel mode flags tables to one. 2007-12-25 01:00:20 +01:00
Jilles Tjoelker c13a2d9ad3 Add mass_notice oper priv, enabled by default for compatibility.
Controls /wallops and masked notices/privmsgs.
2007-12-24 21:47:05 +01:00