Jilles Tjoelker [Sun, 17 May 2009 18:52:16 +0000 (20:52 +0200)]
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.
Jilles Tjoelker [Fri, 8 May 2009 12:42:55 +0000 (14:42 +0200)]
Rewrite perm xlines containing '",' from local opers (to '"\,').
The change also applies to xlines sent to other servers.
Note that the backslash must be supplied in an unxline.
Incoming xlines containing '",' are rejected to avoid
inconsistency between servers.
Jilles Tjoelker [Thu, 7 May 2009 22:21:14 +0000 (00:21 +0200)]
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()).
Jilles Tjoelker [Sun, 29 Mar 2009 15:08:42 +0000 (17:08 +0200)]
Add new topic command ETB, allowing services to set topic+setter+ts always
(provided channelTS != 0).
ETB is controlled by the EOPMOD capab. Fairly complicated
stuff is needed for older servers.
ETB can come from clients or servers, but at this time it
should only be sent from clients, as otherwise it is not
always possible to update older servers.
Jilles Tjoelker [Sat, 7 Mar 2009 00:27:05 +0000 (01:27 +0100)]
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.
Jilles Tjoelker [Sat, 21 Feb 2009 23:12:21 +0000 (00:12 +0100)]
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.
Jilles Tjoelker [Fri, 6 Feb 2009 13:07:03 +0000 (14:07 +0100)]
Disallow invites to juped channels.
In particular, this is checked when the source is
local and not resv_exempt, or the target is local and
not resv_exempt.
Jilles Tjoelker [Thu, 5 Feb 2009 22:43:07 +0000 (23:43 +0100)]
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.
Jilles Tjoelker [Wed, 28 Jan 2009 00:02:34 +0000 (01:02 +0100)]
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.
Jilles Tjoelker [Wed, 21 Jan 2009 23:27:27 +0000 (00:27 +0100)]
Only kill unknown prefix UIDs that start with a valid SID
(existing and behind the link that sent the prefix).
Also require them to be exactly 9 characters long.
Jilles Tjoelker [Fri, 16 Jan 2009 22:08:05 +0000 (23:08 +0100)]
Close the local link that sends a TS5 NICK introduction.
This is no longer supported and was already broken,
sending out a UID message without UID parameter to
other servers.
Jilles Tjoelker [Thu, 15 Jan 2009 17:08:46 +0000 (20:08 +0300)]
[ratbox3 svn r26397] Make it more likely that error messages on ssld connections get through.
When ssld reports a connection closure because of
"Remote host closed the connection" and the connection
is any server or a registered client, try a
read_packet() on the client.
This should mainly help LIBRB_USE_IOTYPE=poll which
iterates over the ready file descriptors in numerical
order, processing the ssld control connection before the
closing data connection.