]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
15 years agoRemove outdated TODO
brain [Tue, 14 Oct 2008 13:14:50 +0000 (13:14 +0000)]
Remove outdated TODO

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10641 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoDon't send an override notice if no modes were actually applied, thanks Ankit.
w00t [Mon, 13 Oct 2008 11:50:42 +0000 (11:50 +0000)]
Don't send an override notice if no modes were actually applied, thanks Ankit.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10640 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoPatches for updated config from jdhore, thanks! :)
brain [Sun, 12 Oct 2008 17:33:29 +0000 (17:33 +0000)]
Patches for updated config from jdhore, thanks! :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10639 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMake wget syntax correct for executable includes example
brain [Fri, 10 Oct 2008 21:49:15 +0000 (21:49 +0000)]
Make wget syntax correct for executable includes example

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10638 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoLatest config file tweaks from jdhore, thanks! :)
brain [Fri, 10 Oct 2008 21:41:38 +0000 (21:41 +0000)]
Latest config file tweaks from jdhore, thanks! :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10637 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix messageflood not working (bug #615). Big thanks to dz.
w00t [Fri, 10 Oct 2008 14:25:17 +0000 (14:25 +0000)]
Fix messageflood not working (bug #615). Big thanks to dz.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10636 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUpdate comment that says we dont send simplemodes in FJOIN, we do now.
brain [Fri, 10 Oct 2008 13:10:59 +0000 (13:10 +0000)]
Update comment that says we dont send simplemodes in FJOIN, we do now.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10635 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix the description of the m_operinvex module in the example config.
psychon [Thu, 9 Oct 2008 18:36:09 +0000 (18:36 +0000)]
Fix the description of the m_operinvex module in the example config.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10634 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoApply patch from jmb, for bug #593. Snotices on override are now sent regardless...
w00t [Wed, 8 Oct 2008 12:18:48 +0000 (12:18 +0000)]
Apply patch from jmb, for bug #593. Snotices on override are now sent regardless of noisy setting. Done in preparation for b2 sometime soon.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10633 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix memory leak in helpop config loading, thanks Macgyver.
w00t [Wed, 8 Oct 2008 11:33:52 +0000 (11:33 +0000)]
Fix memory leak in helpop config loading, thanks Macgyver.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10631 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix crash caused by me being retarded.
w00t [Wed, 8 Oct 2008 09:33:46 +0000 (09:33 +0000)]
Fix crash caused by me being retarded.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10630 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix: call OnRawSocketAccept for server connections. This isn't yet done in an ideal...
w00t [Wed, 8 Oct 2008 09:08:30 +0000 (09:08 +0000)]
Fix: call OnRawSocketAccept for server connections. This isn't yet done in an ideal fashion, but it should work for now. Fixes bug #616, reported by dz. Thanks.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10629 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove this, we're not going to keep the .old, makes it twice as much work to documen...
brain [Tue, 7 Oct 2008 20:41:54 +0000 (20:41 +0000)]
Remove this, we're not going to keep the .old, makes it twice as much work to document stuff

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10628 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd jdhore's nicer config files with better readable comments, thanks tons! :)
brain [Tue, 7 Oct 2008 18:34:27 +0000 (18:34 +0000)]
Add jdhore's nicer config files with better readable comments, thanks tons! :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10627 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoTest commit
brain [Tue, 7 Oct 2008 18:20:37 +0000 (18:20 +0000)]
Test commit

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10626 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoSome more safety checks to catch out invalid client introductions (e.g. from atheme...
brain [Sun, 5 Oct 2008 00:42:36 +0000 (00:42 +0000)]
Some more safety checks to catch out invalid client introductions (e.g. from atheme when its too old (for some reason its no longer checking the protocol ID for this))

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10623 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoHeader tidyups. Apart from module to module API stuff and external deps, modules...
brain [Sat, 4 Oct 2008 21:27:52 +0000 (21:27 +0000)]
Header tidyups. Apart from module to module API stuff and external deps, modules dont really need to include much but inspircd.h (and xline.h if they create new xline factories)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10622 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoWe are including tons more than we need to here, its a mess :p
brain [Sat, 4 Oct 2008 21:18:26 +0000 (21:18 +0000)]
We are including tons more than we need to here, its a mess :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10621 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix for bug #613 reported by Casey, m_regex_glob's parameters were back to front!
brain [Sat, 4 Oct 2008 15:06:00 +0000 (15:06 +0000)]
Fix for bug #613 reported by Casey, m_regex_glob's parameters were back to front!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10620 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoWhooops! thanks psychon
brain [Fri, 3 Oct 2008 18:19:05 +0000 (18:19 +0000)]
Whooops! thanks psychon

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10619 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoComments here too
brain [Thu, 2 Oct 2008 23:17:24 +0000 (23:17 +0000)]
Comments here too

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10618 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMention ulines too
brain [Thu, 2 Oct 2008 23:14:45 +0000 (23:14 +0000)]
Mention ulines too

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10617 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoComment on potentially confusing code
brain [Thu, 2 Oct 2008 23:14:12 +0000 (23:14 +0000)]
Comment on potentially confusing code

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10616 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoThe module hook is kinda required.
brain [Thu, 2 Oct 2008 22:30:37 +0000 (22:30 +0000)]
The module hook is kinda required.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10615 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix for bug #601
brain [Thu, 2 Oct 2008 22:27:03 +0000 (22:27 +0000)]
Fix for bug #601

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10614 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoSome suggestions from jilles about handling unknown prefix errors, and some ideas...
brain [Tue, 30 Sep 2008 22:21:34 +0000 (22:21 +0000)]
Some suggestions from jilles about handling unknown prefix errors, and some ideas of my own about handling unknown modes in client introduction to prevent leaving a desynched user on the source server

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10613 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix for bug #604 reported by Phoenix, thanks
brain [Tue, 30 Sep 2008 09:10:43 +0000 (09:10 +0000)]
Fix for bug #604 reported by Phoenix, thanks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10612 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMake topic optional for permanent channels tags.
w00t [Mon, 29 Sep 2008 11:16:07 +0000 (11:16 +0000)]
Make topic optional for permanent channels tags.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10610 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix inverted logic in restrictchans that caused it to not play nice with permchannels.
w00t [Mon, 29 Sep 2008 10:07:46 +0000 (10:07 +0000)]
Fix inverted logic in restrictchans that caused it to not play nice with permchannels.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10609 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoReplace the IP (in addition to hostname) for CGIIRC clients; fixes glines and zlines...
special [Mon, 29 Sep 2008 08:13:49 +0000 (08:13 +0000)]
Replace the IP (in addition to hostname) for CGIIRC clients; fixes glines and zlines on IPs affecting cgiirc users. Thanks to Saz|Laptop

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10607 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoI think this fixes the mode +k weirdness. Keys were never being set correctly in...
brain [Mon, 29 Sep 2008 01:40:17 +0000 (01:40 +0000)]
I think this fixes the mode +k weirdness. Keys were never being set correctly in the channel data. gcc doesnt warn on cast from char* to bool.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10606 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoSuggested by nenolod, lets add this for thread signal safety
brain [Sun, 28 Sep 2008 11:56:57 +0000 (11:56 +0000)]
Suggested by nenolod, lets add this for thread signal safety

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10605 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix <options:noservices> causing +o (and +q!) not being correctly given on channel...
aquanight [Fri, 26 Sep 2008 18:16:14 +0000 (18:16 +0000)]
Fix <options:noservices> causing +o (and +q!) not being correctly given on channel create

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10604 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoInitialise SSL session pointer to NULL to prevent a potentially unsafe comparison...
w00t [Fri, 26 Sep 2008 10:50:53 +0000 (10:50 +0000)]
Initialise SSL session pointer to NULL to prevent a potentially unsafe comparison, thanks Macgyver.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10602 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoJersey cows!
brain [Thu, 25 Sep 2008 20:33:05 +0000 (20:33 +0000)]
Jersey cows!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10600 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAlso fix here; glob patterns may not start with > or <. TODO: iterate comma sep token...
peavey [Thu, 25 Sep 2008 12:41:39 +0000 (12:41 +0000)]
Also fix here; glob patterns may not start with > or <. TODO: iterate comma sep tokenlist to catch LIST >0,<10000 as other IRCDs do.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10599 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix faulty logic, glob patterns may not start with > or <. TODO: iterate comma sep...
peavey [Thu, 25 Sep 2008 12:33:49 +0000 (12:33 +0000)]
Fix faulty logic, glob patterns may not start with > or <. TODO: iterate comma sep tokenlist to catch LIST >0,<10000 as other IRCDs do.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10598 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix for bug #610 reported by ankit, numeric changed to 505
brain [Wed, 24 Sep 2008 19:02:15 +0000 (19:02 +0000)]
Fix for bug #610 reported by ankit, numeric changed to 505

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10596 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix for listening sockets not clearing their timeout on connected. Reported by Sazpaimon.
peavey [Wed, 24 Sep 2008 15:31:35 +0000 (15:31 +0000)]
Fix for listening sockets not clearing their timeout on connected. Reported by Sazpaimon.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10594 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoSet Id property on a bunch of modules which lack it, etc.
brain [Mon, 22 Sep 2008 15:22:15 +0000 (15:22 +0000)]
Set Id property on a bunch of modules which lack it, etc.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10593 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agowarning-free on windows
brain [Mon, 22 Sep 2008 11:28:44 +0000 (11:28 +0000)]
warning-free on windows

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10592 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoWindows compile fixes for RLine
brain [Mon, 22 Sep 2008 08:38:45 +0000 (08:38 +0000)]
Windows compile fixes for RLine

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10591 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoSecond part of fix for bug #605, make adding and removal of lines not case sensitive
brain [Mon, 22 Sep 2008 01:16:15 +0000 (01:16 +0000)]
Second part of fix for bug #605, make adding and removal of lines not case sensitive

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10590 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix for bug #605 reported by MacGuyver, if a line is expired when we are adding anoth...
brain [Mon, 22 Sep 2008 01:11:23 +0000 (01:11 +0000)]
Fix for bug #605 reported by MacGuyver, if a line is expired when we are adding another with the same hostmask, replace the existing line with the new one

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10589 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix /STATS output to show the regex module in use
brain [Sun, 21 Sep 2008 20:37:24 +0000 (20:37 +0000)]
Fix /STATS output to show the regex module in use

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10588 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUpdate config to remove m_filter_pcre and document new tags
brain [Sun, 21 Sep 2008 18:21:34 +0000 (18:21 +0000)]
Update config to remove m_filter_pcre and document new tags

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10587 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix leak, thanks aquanight
brain [Sun, 21 Sep 2008 16:55:12 +0000 (16:55 +0000)]
Fix leak, thanks aquanight

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10586 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoNo longer needed
brain [Sun, 21 Sep 2008 16:21:10 +0000 (16:21 +0000)]
No longer needed

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10585 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix re-creation of config filters
brain [Sun, 21 Sep 2008 16:18:56 +0000 (16:18 +0000)]
Fix re-creation of config filters

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10584 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoBecause m_filter reads definitions from the conf, unlike rline, when we see our engin...
brain [Sun, 21 Sep 2008 16:11:27 +0000 (16:11 +0000)]
Because m_filter reads definitions from the conf, unlike rline, when we see our engine via OnLoadModule we must do a partial rehash to get these lines from the conf and ensure theyre applied, because they would have failed to apply initially.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10583 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoWell, that was moronic of me
brain [Sun, 21 Sep 2008 16:06:09 +0000 (16:06 +0000)]
Well, that was moronic of me

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10582 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agosomeone forget an instance
brain [Sun, 21 Sep 2008 16:01:48 +0000 (16:01 +0000)]
someone forget an instance

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10581 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoThis compiles but is NOT tested yet. Do not use unless you like pain.
brain [Sun, 21 Sep 2008 15:52:45 +0000 (15:52 +0000)]
This compiles but is NOT tested yet. Do not use unless you like pain.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10580 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoBe consistent. Use ServerInstance in all places instead of 'Instance' in half. This...
w00t [Sun, 21 Sep 2008 12:56:03 +0000 (12:56 +0000)]
Be consistent. Use ServerInstance in all places instead of 'Instance' in half. This has bugged me forever :p. I think I got all of extra/ too..

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10579 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFixes. Dont try and catch exceptions within the RLine ctor, we dont always want crud...
brain [Sun, 21 Sep 2008 12:24:25 +0000 (12:24 +0000)]
Fixes. Dont try and catch exceptions within the RLine ctor, we dont always want crud outputting to snomask x in every situation. Its up to the caller
that creates the object as to what they want to do with the exception and if they want it shown.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10578 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix various rline bugs, implement /stats R, and fix the issue where you get no error...
brain [Sun, 21 Sep 2008 12:17:31 +0000 (12:17 +0000)]
Fix various rline bugs, implement /stats R, and fix the issue where you get no error. "Something will already have said why it fucked up" -- what
about when the rline fails due to missing provider?
Also fix the fact that we dont have a catch around the Generate() in addline, which would just make insp abort.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10577 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix bug discovered by Ankit, m_rline loaded without regex provider causes segfault...
brain [Sun, 21 Sep 2008 11:58:51 +0000 (11:58 +0000)]
Fix bug discovered by Ankit, m_rline loaded without regex provider causes segfault because of missing check for NULL when querying RegexProvider
interface

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10576 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix the 'i/o error on connection (no error)' stuff, by displaying 'connected closed...
brain [Sun, 21 Sep 2008 10:55:18 +0000 (10:55 +0000)]
Fix the 'i/o error on connection (no error)' stuff, by displaying 'connected closed unexpectedly' when errno == 0.
Also trigger failover whenever a connection times out in the new authentication timeout code (the connection isnt
properly established so the failover should trigger)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10575 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix some comment which was left over from before the conversion from User* to UID
psychon [Sun, 21 Sep 2008 09:07:56 +0000 (09:07 +0000)]
Fix some comment which was left over from before the conversion from User* to UID

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10574 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMake regex providers load correctly. Move m_rline to use the regex providers, and...
aquanight [Sun, 21 Sep 2008 01:51:29 +0000 (01:51 +0000)]
Make regex providers load correctly. Move m_rline to use the regex providers, and also move m_rline out of extras/. Document provider modules, <rline:engine> and particularly the uselessness of <rline engine="glob">.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10573 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix crash
brain [Sun, 21 Sep 2008 00:51:18 +0000 (00:51 +0000)]
Fix crash

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10572 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMove m_regex.h and m_regex_glob.cpp to main modules directory, as these have no requi...
aquanight [Sat, 20 Sep 2008 23:01:53 +0000 (23:01 +0000)]
Move m_regex.h and m_regex_glob.cpp to main modules directory, as these have no requirements.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10571 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove the old TODO comment
brain [Sat, 20 Sep 2008 22:25:47 +0000 (22:25 +0000)]
Remove the old TODO comment

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10570 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix a rather nasty race condition revealed by my reading through the comments and...
brain [Sat, 20 Sep 2008 21:46:56 +0000 (21:46 +0000)]
Fix a rather nasty race condition revealed by my reading through the comments and enhancing them. Back when i did executeable includes, i placed a 'todo' in the code which said something along the lines of:
'we cant pass a User* into the config reader any more, because when the config reader thread finishes, that user may be gone and this will crash. Consider using an UID instead so that if the user vanishes, we can
detect this situation.' Of course, nobody ever did this, so i'm doing it now to ensure we dont come up against some particularly ugly race condition crashes!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10569 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMore comments
brain [Sat, 20 Sep 2008 21:20:15 +0000 (21:20 +0000)]
More comments

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10568 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMore comments, and remove some unused craq. Someone (that being me) once wrote a...
brain [Sat, 20 Sep 2008 21:14:25 +0000 (21:14 +0000)]
More comments, and remove some unused craq. Someone (that being me) once wrote a craqy imitation of std::bitset called dynamicbitmask which took up a large amount of hashcomp.{h,cpp} before i actually knew that std::bitset existed. NOTHING has ever used this class, so whack it as tidyup, knowing it wont
break anything :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10567 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agomore comments
brain [Sat, 20 Sep 2008 20:53:04 +0000 (20:53 +0000)]
more comments

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10566 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoStart documenting stuff for 3rd party developers. Comments only, won't affect feature...
brain [Sat, 20 Sep 2008 20:40:29 +0000 (20:40 +0000)]
Start documenting stuff for 3rd party developers. Comments only, won't affect feature freeze

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10565 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRoll back core matcher to the 1.1 design, which doesnt fail various unit tests
brain [Sat, 20 Sep 2008 17:52:48 +0000 (17:52 +0000)]
Roll back core matcher to the 1.1 design, which doesnt fail various unit tests

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10564 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd test suite tests for wildcard function for failures discovered by Ankit
brain [Sat, 20 Sep 2008 17:44:04 +0000 (17:44 +0000)]
Add test suite tests for wildcard function for failures discovered by Ankit

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10563 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agolol
peavey [Fri, 19 Sep 2008 20:05:36 +0000 (20:05 +0000)]
lol

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10562 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix my massacre of kqueue, filters may not be or'd.
w00t [Fri, 19 Sep 2008 18:39:26 +0000 (18:39 +0000)]
Fix my massacre of kqueue, filters may not be or'd.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10561 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoinbound sockets need a timeout, too. 30 secs should be pleanty
brain [Fri, 19 Sep 2008 11:07:42 +0000 (11:07 +0000)]
inbound sockets need a timeout, too. 30 secs should be pleanty

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10560 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoDon't check E:Lines when enforcing Q:Lines on connected users. Thanks MacGyver.
w00t [Fri, 19 Sep 2008 09:34:03 +0000 (09:34 +0000)]
Don't check E:Lines when enforcing Q:Lines on connected users. Thanks MacGyver.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10559 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoImplement timeout on outgoing server connections as per our docs <link:timeout>
peavey [Fri, 19 Sep 2008 02:00:04 +0000 (02:00 +0000)]
Implement timeout on outgoing server connections as per our docs <link:timeout>

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10558 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoReinvert order of insert/erase into user hash_map to avoid a lil crash :)
peavey [Thu, 18 Sep 2008 23:37:58 +0000 (23:37 +0000)]
Reinvert order of insert/erase into user hash_map to avoid a lil crash :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10557 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMerge vc90 update patch from IronLegend, thanks
brain [Wed, 17 Sep 2008 22:08:50 +0000 (22:08 +0000)]
Merge vc90 update patch from IronLegend, thanks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10555 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRoll back tweak to the starttls spec requested by kvirc devs, sorry we cant do this...
brain [Wed, 17 Sep 2008 18:53:19 +0000 (18:53 +0000)]
Roll back tweak to the starttls spec requested by kvirc devs, sorry we cant do this as we have other client devs breathing down our throats that it broke their clients :(

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10549 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoShrink users properly on quit, and make cloaks for all existing users on load, for...
brain [Tue, 16 Sep 2008 17:32:32 +0000 (17:32 +0000)]
Shrink users properly on quit, and make cloaks for all existing users on load, for situations where the cloaking module is loaded after the ircd is booted. Thanks Ankit

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10546 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoBe more verbose in ValidateNotEmpty on failure. Patch by CyberbotX.
peavey [Sun, 14 Sep 2008 12:30:16 +0000 (12:30 +0000)]
Be more verbose in ValidateNotEmpty on failure. Patch by CyberbotX.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10544 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoPatch by dz to remove the one usage of strdup/strtok_r, which is very un-C++ behavior...
special [Sun, 14 Sep 2008 03:30:39 +0000 (03:30 +0000)]
Patch by dz to remove the one usage of strdup/strtok_r, which is very un-C++ behavior (and silly, since we have sepstream)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10543 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agodont try and cloak if no valid cloak was returned (eg. localhost)
peavey [Sun, 14 Sep 2008 00:47:57 +0000 (00:47 +0000)]
dont try and cloak if no valid cloak was returned (eg. localhost)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10542 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoChanged Allowed Modes to bitsets.
aquanight [Sat, 13 Sep 2008 15:47:01 +0000 (15:47 +0000)]
Changed Allowed Modes to bitsets.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10541 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMerge commit 'danieldg/out-12'
w00t [Sat, 13 Sep 2008 14:27:25 +0000 (14:27 +0000)]
Merge commit 'danieldg/out-12'

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10540 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agomore namespace fix0rz
peavey [Sat, 13 Sep 2008 14:02:24 +0000 (14:02 +0000)]
more namespace fix0rz

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10539 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoOptimisation
brain [Sat, 13 Sep 2008 13:58:16 +0000 (13:58 +0000)]
Optimisation

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10538 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agonamespace fix0rz
peavey [Sat, 13 Sep 2008 13:58:03 +0000 (13:58 +0000)]
namespace fix0rz

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10537 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix setting of +x before we've processed an OnUserConnect
brain [Sat, 13 Sep 2008 13:57:08 +0000 (13:57 +0000)]
Fix setting of +x before we've processed an OnUserConnect

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10536 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove unneeded namespace stuff.
w00t [Sat, 13 Sep 2008 13:16:22 +0000 (13:16 +0000)]
Remove unneeded namespace stuff.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10535 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMake the 'ancient OS' warning a bit more strongly worded.
w00t [Sat, 13 Sep 2008 13:02:16 +0000 (13:02 +0000)]
Make the 'ancient OS' warning a bit more strongly worded.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10534 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMinor style tidyup.
w00t [Fri, 12 Sep 2008 20:56:49 +0000 (20:56 +0000)]
Minor style tidyup.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10533 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoLast cleanup. All trunk extras now builds again.
peavey [Fri, 12 Sep 2008 20:07:17 +0000 (20:07 +0000)]
Last cleanup. All trunk extras now builds again.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10532 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agofix for listensocket, tested and also working like a charm.
peavey [Fri, 12 Sep 2008 20:02:48 +0000 (20:02 +0000)]
fix for listensocket, tested and also working like a charm.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10531 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agomore cleanup
peavey [Fri, 12 Sep 2008 19:56:39 +0000 (19:56 +0000)]
more cleanup

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10530 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agocleanup
peavey [Fri, 12 Sep 2008 19:53:12 +0000 (19:53 +0000)]
cleanup

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10529 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agofix for listenbase, tested and works like a charm.
peavey [Fri, 12 Sep 2008 19:40:42 +0000 (19:40 +0000)]
fix for listenbase, tested and works like a charm.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10528 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoCleanup of some internals. Tested via m_httpd.
w00t [Fri, 12 Sep 2008 12:08:25 +0000 (12:08 +0000)]
Cleanup of some internals. Tested via m_httpd.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10527 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove proxyscan, it doesn't exist now.
w00t [Thu, 11 Sep 2008 23:47:13 +0000 (23:47 +0000)]
Remove proxyscan, it doesn't exist now.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10526 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove some duplication, everything calls the SE equivilant anyway.
w00t [Thu, 11 Sep 2008 23:45:14 +0000 (23:45 +0000)]
Remove some duplication, everything calls the SE equivilant anyway.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10525 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove useless parameter.
w00t [Thu, 11 Sep 2008 23:45:09 +0000 (23:45 +0000)]
Remove useless parameter.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10524 e03df62e-2008-0410-955e-edbf42e46eb7