Jilles Tjoelker
5f1fd8a556
Remove some obsolete unused definitions.
2009-05-21 16:01:46 +02:00
Jilles Tjoelker
fcda56627d
Allow ctcp replies through floodcount after ctcp'ing a large group.
...
A large group is any $$ or $# or a channel with more than
floodcount/2 local members, checked on each server separately.
Note that floodcount checks are done on the sender's server.
The special treatment is active for 15 seconds.
2009-05-17 20:52:16 +02:00
Jilles Tjoelker
63860dd1a7
Change xlines to store spaces as \s.
...
Spaces in xline.conf files are changed to \s in memory
and recognized on unxline, but are not changed in the
file. New xlines are added to xline.conf files with \s.
xline.conf written by this commit or newer will not work
properly with charybdis older than 1124:131254925f32 (which
introduced \s support in match_esc()).
2009-05-08 00:21:14 +02:00
William Pitcock
fde16193c4
Allow for capabilities to be marked as "required".
...
If capability negotiation fails on these capabilities, then the server link is dropped.
2009-04-20 09:36:55 -05:00
William Pitcock
16d8d9fc6d
can_kick hook, based on the ircd-seven one.
2009-04-20 09:20:11 -05:00
Jilles Tjoelker
6ce8910d97
Apply +z to messages blocked by +b and +q as well.
...
This adds a new server capab EOPMOD which will be used
for an extended topic command also.
2009-03-29 15:48:07 +02:00
Jilles Tjoelker
0b1e46f5b4
Allow /rehash throttles to clear throttling.
2009-03-07 01:49:09 +01:00
Jilles Tjoelker
dbbe21ed03
Rework remote rehash messages to apply to all server notices during rehash.
...
Previously various notices such as those applying
to modules were not sent to the remote oper.
2009-03-07 01:27:05 +01:00
Jilles Tjoelker
dea418e9b4
Add channel::only_ascii_channels config option
...
to restrict channel names to printable ascii only.
Like disable_fake_channels this only applies to joins
by local users; unlike disable_fake_channels it applies
to opers as well.
2009-02-22 00:12:21 +01:00
Jilles Tjoelker
6b2cf989b6
Disable autoconnect for a server with excessive TS delta.
...
Note that in some cases (different TS delta settings,
heavy lag) it is possible only one of the servers
detects the problem and autoconnect may be left enabled.
The mechanism used for disabling is the same as
/quote set autoconn <server> 0; the A flag in /stats c
disappears and a rehash or /quote set autoconn can put
it back.
2009-02-05 23:43:07 +01:00
Jilles Tjoelker
1ba281712f
For remote rehashes, send error messages to the requesting oper as well.
2009-01-30 00:11:12 +01:00
Jilles Tjoelker
b3a4fe7410
Don't suggest putting values in an enum that are not in the enum.
...
Compilers may assume that variables of enumerated type
only contain values in the enumeration.
2009-01-28 01:02:34 +01:00
Jilles Tjoelker
ac408af6cb
Update comments for parv[0] removal.
2009-01-18 18:22:43 +01:00
Jilles Tjoelker
3619e29987
Change /stats O to show privset blocks (oper only).
...
To show operator blocks, only /stats o (lowercase) now works.
2009-01-18 01:35:24 +01:00
Valeriy Yatsko
c4a6078abd
Update client.h.
2008-12-13 23:22:12 +03:00
Jilles Tjoelker
760ef9e1ea
Show rejectcache/throttle in /testline output.
...
This adds more RPL_TESTLINE numerics with code '!'.
Different from the other results, the I/K line or
RESV will be shown as well.
2008-12-19 19:24:12 +01:00
Jilles Tjoelker
76d4968137
Show throttle info in /stats t.
...
from ircd-ratbox (androsyn)
2008-12-16 21:02:04 +01:00
Jilles Tjoelker
543b8c392c
Make rehashing privset{} change online oper privileges.
...
This also fixes memory leak due to multiple privsets
with the same name (added after each rehash).
2008-12-14 18:25:15 +01:00
Valeriy Yatsko
3b0f3294cf
Remove irc_basename, replace it with rb_basename from libratbox.
2008-12-03 02:59:13 +03:00
Jilles Tjoelker
c8d8588915
Split cidr_bitlen into cidr_ipv4_bitlen and cidr_ipv6_bitlen.
...
Taken from ircd-ratbox 3 via shadowircd.
2008-11-30 13:31:59 +01:00
Jilles Tjoelker
660debfad5
Correct buffer without space for '\0', should have been safe due to padding.
2008-11-22 18:51:00 +01:00
Aaron Sethman
17d00839b3
make is_cti/is_sti collect times connected in unsigned long long instead of time_t as well..on 32bit boxes that is going to wrap pretty quickly
...
committer: Valeriy Yatsko <dwr@it-penza.org>
2008-11-16 10:04:09 +03:00
Jilles Tjoelker
570ca08a4f
Allow the resolver to process longer hostnames,
...
for the benefit of some DNSBLs like the "TorDNSEL service".
2008-11-15 16:13:39 +01:00
Jilles Tjoelker
555801db60
Add ircu-like /who format options.
...
Use /quote help who for details.
The format code "o" (oplevel) is not documented,
but implemented showing dummy information (999 for
chanop, n/a otherwise).
2008-11-09 00:12:56 +01:00
Jilles Tjoelker
850b23f3a9
Remove old oper privilege flags.
2008-09-09 21:51:26 +02:00
Jilles Tjoelker
663bbb2836
Add need_ssl to auth{} and operator{}.
...
Specifying need_ssl on auth{} denies the connection if
it is not SSL/TLS, much like need_ident or need_sasl.
Specifying need_ssl on operator{} refuses opering with
ERR_NOOPERHOST if the connection is not SSL/TLS.
from ircd-ratbox
2008-09-07 01:18:58 +02:00
William Pitcock
508c7c41fe
Make change_isupport() return the old value!!!
2008-08-29 15:36:41 -05:00
William Pitcock
17ad49a96a
Add change_isupport() to change the value of an ISUPPORT token.
2008-08-29 15:27:34 -05:00
Jilles Tjoelker
07c8448a5b
Fix ident for ssl connections.
2008-08-28 00:49:04 +02:00
William Pitcock
4db97a8263
HasPrivilege(): check to make sure localClient and localClient.privset are non-NULL.
2008-08-17 08:52:04 -05:00
William Pitcock
73a3435109
All modules converted to use privsets by porting the macro over.
...
New macro, HasPrivilege() does most of the work here, the old IsOper*() macros
are deprecated, and will likely be removed later.
2008-08-17 08:36:17 -05:00
William Pitcock
34cb09ceea
Make a reference to privset in Client.localClient.
2008-08-17 08:23:40 -05:00
William Pitcock
665e79e999
privilegeset_ref(): return the privilegeset
2008-08-17 08:22:56 -05:00
Jilles Tjoelker
d2e6d8d715
Add 328 numeric (ChanServ channel URL) to the header files.
2008-08-17 14:49:01 +02:00
Jilles Tjoelker
c73d999576
Remove another servlink remnant.
2008-08-17 14:46:29 +02:00
William Pitcock
120b37f94f
oper_conf structure: add privset association.
2008-08-17 07:32:30 -05:00
William Pitcock
0e52880760
Add privilegeset_extend().
2008-08-17 06:35:49 -05:00
William Pitcock
9291987bba
Add basic PrivilegeSet API.
2008-08-17 06:27:59 -05:00
Valery V Yatsko
6145bb6027
no more servlink - removed 'servlink_path' from reference.conf and source files
2008-08-16 22:23:56 +04:00
Valery V Yatsko
fba62b0151
Moved extern chmode_flags declaration from channel.h to chmode.h, as
...
it's actually declared in the second one
2008-08-04 21:51:15 +04:00
Jilles Tjoelker
d1275a8fd6
Move to ratbox3 reject and throttle code.
...
Throttle replaces max_unknown_ip, reject is like before
(including the charybdis-specific unkline handling).
Both of these now apply before SSL negotiation.
This commit does not include the global_cidr and new dline code.
m_webirc is a bit nasty with throttling (unlike before
with max_unknown_ip), this may be fixed later (or
the webirc IP needs to be exempt{}ed).
2008-08-01 01:59:08 +02:00
Valery Yatsko
a02e61ed80
channel.h cleaned up a bit - removed unused includes
2008-07-30 16:27:35 +04:00
Valery Yatsko
eda5c86098
Removed charybdis.h include - used nowhere
2008-07-30 16:19:56 +04:00
Valery Yatsko
f97867dff3
rb_uint32_t -> uint32_t, rb_uint16_t -> uint16_t
2008-07-30 02:45:31 +04:00
Valery Yatsko
9a7b24a6be
Removed unneeded includes from newconf.h
2008-07-28 23:14:51 +04:00
Valery Yatsko
7608ef4933
A very draft version of extensions, which are adding can_join hooks for custom channel modes
2008-07-27 12:10:48 +04:00
Jilles Tjoelker
dada366b70
Also apply floodcount to messages to remote clients (except services).
...
As before, only local clients can have their message blocked.
2008-07-22 01:46:34 +02:00
Jilles Tjoelker
60817ff45c
Remove some obsolete ConfItem flags.
2008-07-04 17:05:18 +02:00
Valery V Yatsko
f4fd05e251
Removed SystemTime declaration
2008-06-28 14:38:27 +04:00
Valery V Yatsko
715b28fefd
Applied svn diff from ratbox3 r21458:21470
2008-06-28 14:13:50 +04:00
Valery V Yatsko
9a67ad23d9
Remove Channel->users_last, used nowhere
2008-06-28 12:25:53 +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
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
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
eba517019e
Missed declaration of chm_orphaned
2008-06-24 22:08:24 +04: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
75818939ab
Applying dyn-cmodes.diff - first step in implementing channel module
...
addition in extensions
2008-06-24 20:45:19 +04:00
Jilles Tjoelker
ed28210c45
Clean up s_auth a little. No functional changes.
2008-06-21 00:58:08 +02:00
Jilles Tjoelker
13818e2470
Remove unused field ip6_int.
2008-06-20 22:55:51 +02:00
Jilles Tjoelker
6d18bf1a12
Some const stuff for m_set.
2008-06-11 00:28:08 +02:00
William Pitcock
f06c147c70
Merge with 'charybdis-ts6only' branch.
2008-06-08 01:09:04 -05:00
Jilles Tjoelker
bc762249f2
Remove dline flags from shared all.
...
This means dline/undline need to be specified
explicitly in a shared{} block.
2008-04-21 01:41:42 +02:00
Jilles Tjoelker
c465dbcda4
Move some declarations to header files, this enforces that they match.
2008-04-20 15:30:24 +02:00
Jilles Tjoelker
aa65834c6f
Fix various compiler warnings.
2008-04-20 15:20:10 +02:00
Valery Yatsko
45be325cd2
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
7e8e21a41a
Remainder of irc_string.* is moved to new inline/stringops.h.
2008-04-20 01:03:11 -05:00
Valery Yatsko
13ae2f4b69
irc_string.h -> match.h, irc_string.h; includes changed
2008-04-20 09:47:38 +04:00
Valery Yatsko
5f4f1d055f
strip_tabs() is related to s_conf.c ONLY - moved it there
2008-04-20 09:38:26 +04:00
Valery Yatsko
c6b832270e
clean_string() is related to m_links.c ONLY - moved it there
2008-04-20 09:35:22 +04:00
Valery Yatsko
dcbd1d073c
strtoken -> rb_strtok_r (with arguments order changes)
2008-04-20 09:20:25 +04:00
Valery Yatsko
d99380b61b
legacy irc sprintf gone
2008-04-20 09:12:09 +04:00
Valery Yatsko
08a5f1f948
myctime -> rb_ctime
2008-04-20 09:03:39 +04:00
Valery Yatsko
9879cd59a6
Various inet* -> rb_inet_*
2008-04-20 08:55:41 +04:00
Valery Yatsko
a64c5173a7
strlcat -> rb_strlcat
2008-04-20 08:44:04 +04:00
Valery Yatsko
907468c485
strlcpy -> rb_strlcpy
2008-04-20 08:40:40 +04:00
Valery Yatsko
b798359b17
Functions replacement: ircd_baseXX_{en,de}code -> rb_baseXX_{en,de}code
2008-04-20 08:36:28 +04:00
Valery Yatsko
359dada2ab
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
6972e25a95
Moving some m_die code into ircd_shutdown(reason) function and use it on SIGTERM too
2008-04-20 07:38:56 +04:00
Jilles Tjoelker
b717a466d0
Remove ^M on line endings.
2008-04-13 17:54:23 +02:00
Jilles Tjoelker
faf00e4f00
Rerun autoconf and autoheader.
2008-04-11 17:57:37 +02:00
William Pitcock
bbce52f18d
TS_MIN is 6 now.
2008-04-11 10:23:47 -05:00
William Pitcock
5295cde25d
start working on TS5 removal.
2008-04-11 10:22:44 -05:00
Valery Yatsko
b9c1b1b960
Fixing compilation - CAP_GLN removed
2008-04-11 18:56:53 +04:00
Valery Yatsko
d5a432fa00
Removing glines
2008-04-11 18:47:03 +04:00
Jilles Tjoelker
33dcd535b7
Add extern to eob_count global variable declaration in header file.
2008-04-11 11:30:07 +02:00
Valery Yatsko
ca89e98e03
.cvsignore files removed, SVN-Access replaced by Mercurial-Access
2008-04-09 22:24:50 +04:00
Valery Yatsko
b5482c9103
chm_* declarations gone to chmode.h - this makes some modules clean
2008-04-08 23:39:35 +04:00
Jilles Tjoelker
001b3b3633
Make Dictionary keys const everywhere.
2008-04-08 19:52:02 +02:00
Jilles Tjoelker
20961eeada
Make the format argument of change_nick_user_host() const.
2008-04-08 18:54:58 +02:00
Jilles Tjoelker
b4cd337c77
Make Message.cmd a const pointer.
2008-04-08 18:51:52 +02:00
Valery Yatsko
03d18a46b1
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
79c3c679ad
Removing UMODE_ALL, replacing all sendto_realops_flags in sslproc.c with snomasks
2008-04-08 20:16:19 +04:00
Valery Yatsko
8e936dafd2
Changing umode defines - renumbered
2008-04-08 20:06:43 +04:00
Valery Yatsko
92b8976366
'S' flag meaning we use ssl link added to /stats {c,C} (connect)
2008-04-08 18:30:53 +04:00
Valery Yatsko
29c8637abb
Branch merge
2008-04-08 18:01:37 +04:00
Valery Yatsko
6b7c7401f9
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
94ffe93212
ircd_state.{c,h} gone - let us redesign it in future really
2008-04-08 15:41:41 +04:00
Valery Yatsko
f9d784da28
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
8d268bdb38
Some declarations connected to removed servlink gone
2008-04-07 15:26:25 +04:00
William Pitcock
5da17c500b
fix whois :)
2008-04-06 12:04:25 -05:00
William Pitcock
16cb94cc53
add umode +Z for SSL, can't be set or unset
2008-04-06 11:55:12 -05:00
William Pitcock
a6cb5ebfe0
add missing file
2008-04-06 11:31:46 -05:00
Valery Yatsko
8db00894ab
ssl sync with http://hg.angelforce.ru/charybdis-old
2008-04-06 18:52:42 +04:00
Jilles Tjoelker
1d39b466d4
Branch merge.
2008-04-05 22:34:13 +02:00
Jilles Tjoelker
cecb5c1e51
Put back connecting to servers defined by hostname.
...
The DNS lookup is done at connect time.
2008-04-05 22:09:32 +02:00
Valery Yatsko
3fe908250a
Much clear maxconnections stuff - ported from ratbox3.
2008-04-05 23:56:15 +04:00
Valery Yatsko
2f5fa92127
Missed some files in r520 commit.
2008-04-05 21:20:48 +04:00
Valery Yatsko
2c2e0aa96e
Replacing legacy IPV6 define with RB_IPV6 (which is included in libratbox's config.h).
2008-04-05 20:57:30 +04:00
Valery Yatsko
8325120565
s_stats.c removed, now we use new style of stats handling.
2008-04-04 19:54:37 +04:00
Jilles Tjoelker
93f767eb28
Remove some declarations for removed functions.
2008-04-04 01:19:28 +02:00
Jilles Tjoelker
d991e38239
Servlink control data is read again, this makes /stats Z work.
2008-04-04 00:45:38 +02:00
Jilles Tjoelker
83b667df88
Ziplinks appear to work again now.
2008-04-04 00:13:50 +02:00
William Pitcock
d3455e2c7e
s_log.* -> logger.* (s_foo looks ugly, lets try to get rid of it)
2008-04-02 21:52:01 -05:00
William Pitcock
3a2ff95dcf
ilog_error() replaces legacy report_error() craq
2008-04-02 21:40:54 -05:00
Jilles Tjoelker
cb1130e0f0
Make s_auth.c compile.
2008-04-02 21:14:34 +02:00
Valery Yatsko
32db3450e8
Stuff connected with ctrlFd disabled
2008-04-02 21:16:13 +04:00
Valery Yatsko
6227ed01af
flood_recalc moved on ratbox3 event engine
2008-04-02 21:10:29 +04:00
Valery Yatsko
887b2f383e
linebuf -> rb_linebuf
2008-04-02 21:04:44 +04:00
Valery Yatsko
fb968f050c
Workarond with listener.c stuff on moving from listener->fd usage on listener->F.
2008-04-02 20:06:11 +04:00
Valery Yatsko
3ea5fee7ed
irc_sockaddr_storage -> rb_sockaddr_storage, changing fd in Listener struct to F 'cause libratbox3 need it.
2008-04-02 19:57:37 +04:00
Valery Yatsko
c945815bf6
class.c fixed
2008-04-02 19:49:42 +04:00
Valery Yatsko
de2fb6e2ae
m_pass.c fixed
2008-04-02 19:45:22 +04:00
Valery Yatsko
21c9d815d7
Reverting some changed related not to moving on libratbox3 but using ratbox3 source!
2008-04-02 19:37:50 +04:00
Valery Yatsko
e6a489940b
replacing ssld with servlink
2008-04-02 17:00:18 +04:00
Valery Yatsko
ad9e4e4095
get_printable_kline(..) fix
2008-04-02 16:55:01 +04:00
Valery Yatsko
42d2f3061c
READBUF_SIZE
2008-04-02 16:35:48 +04:00
Valery Yatsko
95781b4d5f
Trying to fix packet.c
2008-04-02 16:31:17 +04:00
Valery Yatsko
bcf2cc4996
fixing ServerStats struct
2008-04-02 16:08:28 +04:00
Valery Yatsko
8750c6e6b7
tstats stuff gone to m_stats.c
2008-04-02 16:04:43 +04:00
Valery Yatsko
79f5dd2fc6
fixing Class struct
2008-04-02 15:34:26 +04:00
Valery Yatsko
90b693f9f6
More charybdis -> ratbox3
2008-04-02 15:02:45 +04:00
Valery Yatsko
3e32e4d686
Fixing bugs
2008-04-02 14:43:53 +04:00
Valery Yatsko
ea0d463a50
hostmask.h cleanup
2008-04-02 14:42:25 +04:00
Valery Yatsko
92bdd4adfe
reject functions from ratbox3
2008-04-02 14:41:37 +04:00
Valery Yatsko
0e992f7e53
s_stats workaround
2008-04-02 14:35:57 +04:00
Valery Yatsko
c72690d81d
ssl_ok in ircd.{h,c}
2008-04-02 14:29:18 +04:00
Valery Yatsko
cd7082fb1f
localflags stuff
2008-04-02 14:28:02 +04:00
Valery Yatsko
bc475bf020
LocalUser::ssl_ctl
2008-04-02 14:26:13 +04:00
Valery Yatsko
f11e2ad2b9
CLI_FD_MAX
2008-04-02 14:23:36 +04:00
Valery Yatsko
01ebafc985
Some hash stuff
2008-04-02 14:20:27 +04:00
Valery Yatsko
58e8319c1c
Reverting to 398.. trying again with native charybdis hash
2008-04-02 14:16:31 +04:00
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
Jilles Tjoelker
333d73ff28
Rearrange flags2 to make room for 3 more oper privileges.
2007-12-24 21:16:19 +01:00
Jilles Tjoelker
2d2c402d0b
Move various flags from flags2 to flags.
2007-12-24 20:58:55 +01:00
Jilles Tjoelker
91e46e62e5
Remove various unused macros.
2007-12-24 20:40:12 +01:00
Jilles Tjoelker
6f068dbd15
Remove unused CONF_FLAGS_DO_IDENTD and FLAGS_NEEDID.
2007-12-24 20:32:41 +01:00
Jilles Tjoelker
5fcb6b5d88
Remove unused flag FLAGS_CHKACCESS.
2007-12-24 20:26:39 +01:00
Jilles Tjoelker
420b2c9a10
Remove dot_in_ip6_addr config option.
2007-12-24 18:24:23 +01:00
Jilles Tjoelker
1ebe6ffc92
Add resv oper priv, enabled by default for compatibility.
2007-12-17 02:20:14 +01:00
Jilles Tjoelker
d7f753cd3a
Do not copy string passed to add_top_conf()/add_conf_item().
...
If the caller can keep a function pointer valid, they can
certainly keep a string valid.
This also fixes an error with HAVE_STRDUP undefined.
2007-12-13 00:14:02 +01:00
Jilles Tjoelker
e8149a2c64
Make /rehash help work again.
2007-12-12 22:26:17 +01:00