Valery Yatsko
58e8319c1c
Reverting to 398.. trying again with native charybdis hash
2008-04-02 14:16:31 +04:00
Valery Yatsko
529088a022
m_message::add_target from ratbox3
2008-04-02 14:05:17 +04:00
Valery Yatsko
79edef0918
Trying again - this will need ssld integration from me
2008-04-02 13:32:14 +04:00
Valery Yatsko
b0b796e41f
m_pass.c fix
2008-04-02 05:59:06 +04:00
Valery Yatsko
9f6bbe3cf9
CurrentTime -> rb_currenttime();
2008-04-02 03:53:20 +04:00
Valery Yatsko
b96058d185
dlinkAddAlloc -> rb_dlinkAddAlloc
2008-04-02 03:44:26 +04:00
Valery Yatsko
f781a34520
linebuf_len -> rb_linebuf_len for modules
2008-04-02 03:43:26 +04:00
Valery Yatsko
e68712582b
Fixed another two warnings in m_stats.c
2008-04-02 03:41:54 +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
62d289465f
DubString -> rb_strdup
2008-04-02 03:26:34 +04:00
Valery Yatsko
bba1d5ba04
m_capab.c fixed - please check whether I am correct
2008-04-02 03:09:21 +04:00
Valery Yatsko
8e43b0b414
MyMalloc -> rb_malloc
2008-04-02 03:07:29 +04:00
Valery Yatsko
1b95ca0b6a
m_away.c derived from ratbox3 - looks much better and do not use deprecated DupString.
2008-04-02 03:00:38 +04:00
Valery Yatsko
90a3c35b29
Argh, wrong replace caused by MS VS 2005 interface.
2008-04-02 02:47:17 +04:00
Valery Yatsko
a55e57248b
MyFree -> rb_free
2008-04-02 02:45:16 +04:00
Valery Yatsko
cc200171d7
libcharybdis includes gone.
2008-04-02 02:39:19 +04:00
Valery Yatsko
2393f503a6
Removing libcharybdis references.
2008-04-02 02:18:44 +04:00
William Pitcock
7689475b4f
make m_signon build.
2008-04-01 16:29:32 -05:00
William Pitcock
ccfe0e9712
Make m_set compile.
2008-04-01 16:25:22 -05:00
William Pitcock
8325ed70b7
Automated merge with ssh://hg.atheme.org//hg/charybdis
2008-04-01 16:15:06 -05:00
William Pitcock
9baf91887f
fix highest_fd nonsense
2008-04-01 16:14:47 -05:00
William Pitcock
03e24016fc
Clean these modules up.
2008-04-01 16:12:16 -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
Jilles Tjoelker
9f6c335332
Change over some dlink functions.
2008-04-01 22:54:08 +02:00
William Pitcock
38e6acddad
ircs[n]printf -> rb_s[n]printf
2008-04-01 15:38:40 -05:00
William Pitcock
31c047d725
Make this compile, but lots of warnings.
2008-04-01 15:26:43 -05:00
William Pitcock
581fa5c499
ircsprintf -> rb_sprintf
2008-04-01 15:21:53 -05: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
William Pitcock
b37edd511a
Allow ENCAP GCAP to be reused to broadcast capability changes to the network.
...
This means that modules can now be added which change CAPs.
2008-04-01 11:45:46 -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
889b032125
Use ERR_DISABLED in CHGHOST and STATS e.
2008-03-30 20:02:55 +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
ff74c93aee
Use ERR_NOPRIVS when an oper is not allowed to see admin-only /stats.
...
This includes opers without the admin flag and admins on other servers.
2008-03-29 23:09:45 +01:00
Jilles Tjoelker
af58bf737a
Fix compiler warning.
2008-03-29 21:36:11 +01:00
Jilles Tjoelker
230a6e6c41
Fix Invalid CAP subcommand error if the user has no nick.
2008-03-18 23:47:37 +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
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
c240ecad4f
Remove CHFL_DEOPPED check from TMODE.
...
This check sometimes blocks oper overrides (OMODE).
It does not stop any hacks that the channelTS check
already stops, because CHFL_DEOPPED is only set when
this server ignored an @ in an incoming SJOIN (the
SJOIN is then propagated without the @) and this
can only be because of a TS difference.
2008-02-25 00:05:15 +01:00
Jilles Tjoelker
3499aa48d5
Fix a UID leak.
2008-02-04 23:56:13 +01:00
Jilles Tjoelker
1f8b58e769
Remove silly a2client_p, entirely pointless since User.server removal.
...
(and was pointless since Client.servptr was introduced)
2008-01-14 23:59:46 +01:00
Jilles Tjoelker
d1264ac892
Add two missing colons for sendto_one_notice().
2008-01-06 00:12:51 +01:00
Jilles Tjoelker
8eee9ee160
If stats k is masked for nonopers, treat stats k and K the same.
...
There is no point in forcing two stats requests for just
one line of information.
2008-01-05 17:00:00 +01:00
Jilles Tjoelker
e54995b150
Remove idle time checking (auto disconnecting users idle too long).
2008-01-01 23:04:34 +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
372b2193ec
More helpful ERROR server notices.
...
- Do not use hide_error_messages for certain "safe" ERRORs.
- If hide_error_messages hides an ERROR from a handshake,
send a server notice anyway, but without the message
text.
- Send server notices about ERRORs from handshakes network
wide if it was a remote connect.
2007-12-28 01:31:56 +01:00
Jilles Tjoelker
df7a3250b1
Never allow a duplicate kline; always allow a wider kline.
...
Duplicate klines are now disallowed regardless of
no_redundant_klines. There is a somewhat hackish check
to see if the new kline is wider than the existing one.
2007-12-26 00:51:22 +01:00
Jilles Tjoelker
4c171a9c72
When removing a temp kline, show removed mask, not given mask.
...
Example: when temp klining 10.0.0.0/16 and unklining 10.0.0.1/16,
it showed 10.0.0.1/16 being removed before, and shows
10.0.0.0/16 now.
2007-12-26 00:18:22 +01:00