Jilles Tjoelker
cd5d9abf63
Do not read in help files starting with a dot (including dot and dot-dot).
2010-01-22 02:02:45 +01:00
Stephen Bennett
d06f3da955
Don't cache files that are empty or not files. Avoids crashing on the likes of 'HELP .'
2010-01-21 16:27:34 +00:00
Valery V Yatsko
4231cedcea
Pretty symlink logic for help files
2008-06-28 11:48:30 +04:00
Valery V Yatsko
22b98b1ed1
untabify function added to cache.c:
...
removes tabs from src, replaces with 8 spaces, and returns the length
of the new string. if the new string would be greater than destlen,
it is truncated to destlen - 1
2008-06-28 11:22:43 +04:00
Valery Yatsko
cbe4e1ba31
legacy irc sprintf gone
2008-04-20 09:12:09 +04:00
Jilles Tjoelker
fe18f4bc7b
Restore and update send_oper_motd().
...
The main ircd binary now compiles and links.
2008-04-03 01:16:49 +02:00
Jilles Tjoelker
1087485cf2
Remove ^M.
2008-04-02 20:50:20 +02:00
Valery Yatsko
91e2f81c99
Prevent cork usage as charybdis doesn't have its support
2008-04-02 04:19:12 +04:00
Valery Yatsko
2296e5600f
Missed include.
2008-04-02 04:16:50 +04:00
Valery Yatsko
0ccdff98ac
fixing cache.c compilation - code stolen from ratbox3, with irc dictionary addition
2008-04-02 04:15:58 +04:00
Valery Yatsko
637c4932f6
Argh, wrong replace caused by MS VS 2005 interface.
2008-04-02 02:47:17 +04:00
Valery Yatsko
bd19829278
MyFree -> rb_free
2008-04-02 02:45:16 +04:00
Valery Yatsko
81af5bcb39
libcharybdis includes gone.
2008-04-02 02:39:19 +04:00
William Pitcock
330fc5c10c
dlink -> rb_dlink
2008-04-01 15:41:52 -05:00
William Pitcock
b2f0da886e
ircs[n]printf -> rb_s[n]printf
2008-04-01 15:38:40 -05:00
Jilles Tjoelker
85550587fb
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
e8149a2c64
Make /rehash help work again.
2007-12-12 22:26:17 +01:00
William Pitcock
9802490cbb
help system rework, part 1
2007-12-03 19:35:55 -06:00
Jilles Tjoelker
994544c294
Merge links_cache into scache and rework scache.
...
This changes flattened /links output to disclose less
routing information and slightly increases memory "leak"
from server names that do not come back anymore.
2007-11-23 22:11:25 +01:00
jilles
1d3e262e40
[svn] Remove emptyline craq because it leaks memory on /rehash motd etc.
...
from ratbox 2.2 (anfl/Androsyn)
2007-05-02 12:56:40 -07:00
nenolod
212380e3f4
[svn] - the new plan:
...
+ branches/release-2.1 -> 2.2 base
+ 3.0 -> branches/cxxconversion
+ backport some immediate 3.0 functionality for 2.2
+ other stuff
2007-01-24 22:40:21 -08:00