Commit Graph

234 Commits

Author SHA1 Message Date
Jilles Tjoelker 509c9ee183 Remove another remnant of server hostmasking. 2008-08-26 00:00:11 +02:00
William Pitcock 028aef6ed6 m_privs: Add stuff for privsets here too. 2008-08-17 08:56:40 -05:00
William Pitcock e2d7f73174 /stats o: display name of privset instead of privs 2008-08-17 08:40:10 -05:00
Jilles Tjoelker 97a6160b45 Allow /list on a named +p channel.
A full /list already included +p channels.
2008-08-12 22:34:37 +02: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
Jilles Tjoelker 4045502246 Fix testline crashes, introduced by the auth_user patch. 2008-07-31 22:25:17 +02:00
Jilles Tjoelker 060ea02eec Remove an unnecessary check for &channels -- sendto_server() already does it. 2008-07-31 18:11:36 +02:00
Jilles Tjoelker b3be8599aa Use channel_modes() to convert a new channel's modes to a string. 2008-07-31 17:55:23 +02:00
Jilles Tjoelker 8acef9de29 Let ops/voices bypass tgchange/floodcount if sending to users in their channel.
This was already possible by using CPRIVMSG/CNOTICE
instead of PRIVMSG/NOTICE.
2008-07-27 23:34:58 +02:00
Jilles Tjoelker ceac83d965 Remove user@server messages to local users.
These are unreliable in general and only useful
for violating certain restrictions.
Sending such messages to remote servers is still
possible, for securely messaging pseudoservers whether
service{}'ed or not. The special oper-only syntax
opers@server remains as well.
2008-07-27 22:17:46 +02:00
Valery Yatsko 7796ef04d4 crypt -> rb_crypt, fixing another gcc warning 2008-07-27 14:45:42 +04:00
Valery Yatsko 1bf485532d Variable aconf was used before its initialization - fixed 2008-07-27 14:43:49 +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 85b8e6497d Do not check floodcount if user is messaging self. 2008-07-13 13:35:43 +02:00
Jilles Tjoelker e23905e60d Regenerate depend files. 2008-07-12 01:52:27 +02:00
Jilles Tjoelker 121cd4dcb6 Some fixes to .depend generation. 2008-07-12 01:52:14 +02:00
Jilles Tjoelker dc4d501281 Move nick collision notices from +s to +k.
Remote nick collisions (Received KILL/SAVE message)
were already on +k.
2008-07-04 16:54:46 +02:00
Jilles Tjoelker 0ae330b43f Reset check_splitmode_ev to NULL after removing it,
to exclude the possibility of it being removed twice.
like ircd-ratbox r25641 (jilles)
reverts 788:476d29d84191
2008-06-29 01:37:11 +02:00
Jilles Tjoelker 346aca1799 Make m_trace.c compile here (with gcc 4.2.1). 2008-06-28 21:08:04 +02:00
Valery V Yatsko a70bad1d73 m_trace.c fixed 2008-06-28 18:20:24 +04:00
Valery V Yatsko 51b0223e4d 'empty_sockhost = "255.255.255.255"' const for report_this_status 2008-06-28 14:27:33 +04:00
Valery V Yatsko 3db8104751 report_this_status: declaration changed 2008-06-28 14:25:31 +04:00
Valery V Yatsko af7c236800 report_this_status fixed 2008-06-28 14:24:18 +04:00
Valery V Yatsko 715b28fefd Applied svn diff from ratbox3 r21458:21470 2008-06-28 14:13:50 +04:00
Valery V Yatsko a2eb0d5913 Removed unneeded '*_ev = NULL' statements 2008-06-28 12:12:18 +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 75818939ab Applying dyn-cmodes.diff - first step in implementing channel module
addition in extensions
2008-06-24 20:45:19 +04:00
Jilles Tjoelker bf9ca219d3 Remove more TS5 remants (sendto_server calls). 2008-06-14 02:06:55 +02:00
Jilles Tjoelker 730c5ff105 Move -bqeI from lower TS SJOIN to a more logical place.
This is possible because TS5 support was removed.
2008-06-13 23:55:37 +02:00
Jilles Tjoelker f037fff482 Add an additional check to mr_server() for TS6, in case we don't get an SVINFO
from ircd-ratbox (anfl)
2008-06-13 23:09:52 +02:00
Jilles Tjoelker 0a70e15066 SJOIN: remove various TS5 stuff 2008-06-13 23:03:52 +02:00
Jilles Tjoelker 767394f009 SJOIN: check minimum parameters more strictly. 2008-06-13 00:32:01 +02:00
Jilles Tjoelker 4a4ea261b2 m_stats: get rid of function pointers with unspecified parameter lists
stats l/L is now more a special case than before
2008-06-11 00:53:21 +02:00
Jilles Tjoelker 4cb8529c19 m_set: get rid of function pointers with unspecified parameter lists 2008-06-11 00:39:01 +02:00
Jilles Tjoelker 6d18bf1a12 Some const stuff for m_set. 2008-06-11 00:28:08 +02:00
William Pitcock 2647617347 Suppress a warning. 2008-06-08 01:32:17 -05:00
William Pitcock 06a7954fa1 modules: no more TS5 2008-06-08 01:27:25 -05:00
William Pitcock 45f5f151f8 core modules: no more TS5. 2008-06-08 01:25:42 -05:00
Jilles Tjoelker 00f13098a3 Reindent. 2008-06-03 20:52:47 +02:00
Jilles Tjoelker 823d0e7a34 Clean up m_trace somewhat.
All visibility logic is now in m_trace(), none in
report_this_status().
2008-06-03 20:52:00 +02:00
Jilles Tjoelker aeeda4466a Reject u@@h klines. 2008-05-21 23:00:10 +02:00
Jilles Tjoelker 1dc9ac1d69 Give an error message when refusing a kline that has neither . : or @. 2008-05-21 22:56:51 +02:00
Jilles Tjoelker a66dbced56 Require remoteban privilege to send dline/undline to other servers. 2008-04-23 18:32:46 +02:00
William Pitcock 8308fcdfed Use sendto_one_numeric() with the new AWAY numerics. 2008-04-21 20:26:23 -05:00
Jilles Tjoelker 931e8bc49e Take out some seven-style server notices. 2008-04-20 19:43:50 +02:00
Jilles Tjoelker 47819d9814 Repair fast/better undline (169:d8aa0d182c9f). 2008-04-20 16:05:17 +02:00
Jilles Tjoelker e26306d359 Remove windows newlines (^M). 2008-04-20 15:47:53 +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