]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
18 years agoRemove some unused headers and unneeded casts
om [Sat, 8 Apr 2006 13:35:46 +0000 (13:35 +0000)]
Remove some unused headers and unneeded casts

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

18 years ago- first steps towards a working IPv6 port. I'll work more on this tomorrow. :-P
nenolod [Sat, 8 Apr 2006 01:35:02 +0000 (01:35 +0000)]
- first steps towards a working IPv6 port. I'll work more on this tomorrow. :-P

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

18 years ago- useless IPv6 yesno() for now
nenolod [Sat, 8 Apr 2006 01:12:14 +0000 (01:12 +0000)]
- useless IPv6 yesno() for now

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

18 years ago- fork off spanningtree module for UUID stuffs :o
nenolod [Sat, 8 Apr 2006 00:20:27 +0000 (00:20 +0000)]
- fork off spanningtree module for UUID stuffs :o

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

18 years agoMake WriteServ use WriteServ_NoFormat, code duplication = bad >:/
om [Fri, 7 Apr 2006 23:16:45 +0000 (23:16 +0000)]
Make WriteServ use WriteServ_NoFormat, code duplication = bad >:/
Change some weirdness using a stringstream for a simple append.
Force a flush of all opers' write buffers after they get the oper notice about a /DIE

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

18 years agoSlight optimisation to config reader, looks nicer even if it's not faster.
om [Fri, 7 Apr 2006 12:21:11 +0000 (12:21 +0000)]
Slight optimisation to config reader, looks nicer even if it's not faster.
Make ./inspircd script use -nolog (it already used -debug, which didn't exist until now!?)
Add commandline options -nolog and -debug, -debug forces all log messages to be output regardless of level. -nolog stops the logfile
being written, so you can run with -debug without filling up your disk.
make clean && make install, apparently some of the core doesn't depend on inspircd_io.h in the makefiles..so it'll probably segfault if
you don't.

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

18 years agoSame error message somewhere else, and actually define the const char* version of...
om [Fri, 7 Apr 2006 11:51:03 +0000 (11:51 +0000)]
Same error message somewhere else, and actually define the const char* version of ConfVarEnum so it doesn't just return 1 all the time...

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

18 years agoChange error message so it's not 'out of range' when a tag doesn't exist
om [Fri, 7 Apr 2006 11:47:26 +0000 (11:47 +0000)]
Change error message so it's not 'out of range' when a tag doesn't exist

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

18 years agoHoly christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE THEM...
w00t [Thu, 6 Apr 2006 02:25:20 +0000 (02:25 +0000)]
Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE THEM - we now have no stupid spaces. This was mostly a mass find/replace, so some indentation may be stuffed. Minor issue, though.

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

18 years agoMore verbose error output
brain [Tue, 4 Apr 2006 20:06:38 +0000 (20:06 +0000)]
More verbose error output

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

18 years agoConnection refused bug is FIXED!!!!
brain [Tue, 4 Apr 2006 20:02:35 +0000 (20:02 +0000)]
Connection refused bug is FIXED!!!!

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

18 years agoRemove 'validation' for server description and network name (didn't do anything)
om [Tue, 4 Apr 2006 19:06:43 +0000 (19:06 +0000)]
Remove 'validation' for server description and network name (didn't do anything)

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

18 years agoBad brain bad
brain [Tue, 4 Apr 2006 17:26:17 +0000 (17:26 +0000)]
Bad brain bad

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

18 years agoTweaks to hopefully prevent 100% cpu use issue
brain [Tue, 4 Apr 2006 17:23:34 +0000 (17:23 +0000)]
Tweaks to hopefully prevent 100% cpu use issue

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

18 years agoMissing helperfuncs and someone took writeopers out of globals.h
brain [Tue, 4 Apr 2006 16:12:34 +0000 (16:12 +0000)]
Missing helperfuncs and someone took writeopers out of globals.h

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

18 years agoAnd the bit I missed... :/
om [Tue, 4 Apr 2006 14:30:47 +0000 (14:30 +0000)]
And the bit I missed... :/

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

18 years agoRemove a load of unneeded debugging output
om [Tue, 4 Apr 2006 14:29:02 +0000 (14:29 +0000)]
Remove a load of unneeded debugging output

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

18 years agoJust indentation tidyups, dont worry i didnt break your lovely parser <3
brain [Tue, 4 Apr 2006 10:19:01 +0000 (10:19 +0000)]
Just indentation tidyups, dont worry i didnt break your lovely parser <3

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

18 years agoOptimisations
om [Tue, 4 Apr 2006 07:44:05 +0000 (07:44 +0000)]
Optimisations

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

18 years agomove do_whois to cmd_whois, i'm stopping now. really.
om [Tue, 4 Apr 2006 06:47:22 +0000 (06:47 +0000)]
move do_whois to cmd_whois, i'm stopping now. really.

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

18 years agoAdd WriteOpers_NoFormat, now to remember what I wanted it for
om [Tue, 4 Apr 2006 06:43:26 +0000 (06:43 +0000)]
Add WriteOpers_NoFormat, now to remember what I wanted it for

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

18 years agoExtra error detection, thwap me if this comes up with false positives
om [Tue, 4 Apr 2006 06:32:08 +0000 (06:32 +0000)]
Extra error detection, thwap me if this comes up with false positives

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

18 years agoRemove duplicate error messages
om [Tue, 4 Apr 2006 06:25:23 +0000 (06:25 +0000)]
Remove duplicate error messages

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

18 years agoDie properly on included config file errors
om [Tue, 4 Apr 2006 06:22:52 +0000 (06:22 +0000)]
Die properly on included config file errors

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

18 years agoUndo the last tweak, which broke it, and show filenames in the error messages
om [Tue, 4 Apr 2006 06:21:14 +0000 (06:21 +0000)]
Undo the last tweak, which broke it, and show filenames in the error messages

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

18 years agocombine a couple of if()'s
om [Tue, 4 Apr 2006 06:15:20 +0000 (06:15 +0000)]
combine a couple of if()'s

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

18 years agoRemove some random unneeded casts
om [Tue, 4 Apr 2006 06:01:31 +0000 (06:01 +0000)]
Remove some random unneeded casts

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

18 years agoAll new shiny config parser, there's probably some bugs there somewhere but hey....
om [Tue, 4 Apr 2006 05:55:54 +0000 (05:55 +0000)]
All new shiny config parser, there's probably some bugs there somewhere but hey...I've been up all night. make clean before you try and compile this. Really. And nobody dare complain

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

18 years agotrivial: Made a slight error on that last commit, missed a bit.
w00t [Tue, 4 Apr 2006 05:53:22 +0000 (05:53 +0000)]
trivial: Made a slight error on that last commit, missed a bit.

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

18 years agoForward port the removal of -nolimit (doesn't seem to be in the current command line...
w00t [Tue, 4 Apr 2006 05:42:33 +0000 (05:42 +0000)]
Forward port the removal of -nolimit (doesn't seem to be in the current command line stuff regardless?)

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

18 years agoundo w00t's screwup
om [Tue, 4 Apr 2006 02:20:59 +0000 (02:20 +0000)]
undo w00t's screwup

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

18 years agoThis doesn't belong in userprocess.cpp. :P
w00t [Tue, 4 Apr 2006 00:41:28 +0000 (00:41 +0000)]
This doesn't belong in userprocess.cpp. :P

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

18 years agoTest fixes for cpu eating issue
brain [Mon, 3 Apr 2006 23:31:55 +0000 (23:31 +0000)]
Test fixes for cpu eating issue

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

18 years agoFix Odin & Dune's obscure bug when you have the name of a config variable within...
om [Mon, 3 Apr 2006 22:44:24 +0000 (22:44 +0000)]
Fix Odin & Dune's obscure bug when you have the name of a config variable within the value of another variable in a single tag <--- Phew

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

18 years agoInitialise OperSpyWhois value to false, just in case.
om [Mon, 3 Apr 2006 17:27:44 +0000 (17:27 +0000)]
Initialise OperSpyWhois value to false, just in case.

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

18 years agoRemove un-needed strlen and pointer in duration()
om [Mon, 3 Apr 2006 17:25:14 +0000 (17:25 +0000)]
Remove un-needed strlen and pointer in duration()

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

18 years agosplit_clist will never send lines over 512 chars, also should be faster
om [Mon, 3 Apr 2006 10:22:03 +0000 (10:22 +0000)]
split_clist will never send lines over 512 chars, also should be faster

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

18 years agoFix to prevent adding empty phrases to +g list
brain [Mon, 3 Apr 2006 09:58:44 +0000 (09:58 +0000)]
Fix to prevent adding empty phrases to +g list

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

18 years agoCopy of 1_0_stable fix for malformed (>64 chars) hostnames.
brain [Mon, 3 Apr 2006 02:34:50 +0000 (02:34 +0000)]
Copy of 1_0_stable fix for malformed (>64 chars) hostnames.

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

18 years agoUndo me screwing stuff up
om [Sun, 2 Apr 2006 18:25:11 +0000 (18:25 +0000)]
Undo me screwing stuff up

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

18 years agoAdd amd64/linux to list of OS'es tested, but mainly CIA test :P
om [Sun, 2 Apr 2006 18:13:21 +0000 (18:13 +0000)]
Add amd64/linux to list of OS'es tested, but mainly CIA test :P

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

18 years agoFixes for stability of connects (these didnt make it into trunk!!!)
brain [Sat, 1 Apr 2006 23:40:53 +0000 (23:40 +0000)]
Fixes for stability of connects (these didnt make it into trunk!!!)

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

18 years agoPut <options:operspywhois> in the example config, off by default
om [Thu, 30 Mar 2006 22:21:45 +0000 (22:21 +0000)]
Put <options:operspywhois> in the example config, off by default

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

18 years agoMake the comment make sense ;<
om [Thu, 30 Mar 2006 22:17:53 +0000 (22:17 +0000)]
Make the comment make sense ;<

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

18 years agoMake chlist() use an ostringstream, should be faster
om [Thu, 30 Mar 2006 22:14:51 +0000 (22:14 +0000)]
Make chlist() use an ostringstream, should be faster

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

18 years agoAdd configuration option <options:operspywhois> to set if opers see invisble and...
om [Thu, 30 Mar 2006 22:08:26 +0000 (22:08 +0000)]
Add configuration option <options:operspywhois> to set if opers see invisble and private channels in /whois, also clean up the code for whois a bit, removing more uneccessary casts.

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

18 years agoMake /whois code a little prettier, make /whowas show real host as well as displayed...
om [Thu, 30 Mar 2006 21:07:24 +0000 (21:07 +0000)]
Make /whois code a little prettier, make /whowas show real host as well as displayed host and show real server/fake server correctly (real to opers). Remove some unecessary casts

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

18 years agoBackport of 100% cpu on connection refused bug
brain [Tue, 28 Mar 2006 18:57:00 +0000 (18:57 +0000)]
Backport of 100% cpu on connection refused bug
Technical details: Set this->ClosePending on connection refused error so that within one cycle it is removed from the list

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

18 years agoCleanups. Don't have a colon with no part reason. Parameter order not changed
om [Tue, 28 Mar 2006 15:15:53 +0000 (15:15 +0000)]
Cleanups. Don't have a colon with no part reason. Parameter order not changed

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

18 years agoRemove debugging
brain [Mon, 27 Mar 2006 20:33:02 +0000 (20:33 +0000)]
Remove debugging

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

18 years agoFix typo in spanningtree (who put this colon here?)
brain [Mon, 27 Mar 2006 20:17:05 +0000 (20:17 +0000)]
Fix typo in spanningtree (who put this colon here?)
Allow for safer cloaking of hosts > 64 (backport from stable)

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

18 years agoFix for desync in channels with keys a'la services
brain [Mon, 27 Mar 2006 19:51:13 +0000 (19:51 +0000)]
Fix for desync in channels with keys a'la services

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

18 years ago"I'm a tester, honest!" :p
brain [Mon, 27 Mar 2006 18:11:10 +0000 (18:11 +0000)]
"I'm a tester, honest!" :p

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

18 years agoIndentation fixes, and stop it snoticing on every join by an override-allowed oper...
om [Mon, 27 Mar 2006 15:31:37 +0000 (15:31 +0000)]
Indentation fixes, and stop it snoticing on every join by an override-allowed oper when there's no limit set

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

18 years agoif(chan->limit >= Srv->CountUsers(chan)) snotice & allow!?
om [Mon, 27 Mar 2006 15:02:09 +0000 (15:02 +0000)]
if(chan->limit >= Srv->CountUsers(chan)) snotice & allow!?

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

18 years agoUndo this test commit too..
om [Mon, 27 Mar 2006 08:25:31 +0000 (08:25 +0000)]
Undo this test commit too..

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

18 years agoTest commit with new trunk/branches
om [Mon, 27 Mar 2006 08:18:48 +0000 (08:18 +0000)]
Test commit with new trunk/branches

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

18 years agoExperimental (it compiles..) channel support for /check. Not yet finished, but meh.
w00t [Mon, 27 Mar 2006 06:49:51 +0000 (06:49 +0000)]
Experimental (it compiles..) channel support for /check. Not yet finished, but meh.

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

18 years agoFounders CANNOT be kicked, so don't let them be removed either.
w00t [Mon, 27 Mar 2006 02:59:02 +0000 (02:59 +0000)]
Founders CANNOT be kicked, so don't let them be removed either.

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

18 years agoRemove unused variable
w00t [Mon, 27 Mar 2006 02:57:18 +0000 (02:57 +0000)]
Remove unused variable

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

18 years agoRemoved unused check for valid channel name - if it's invalid, it won't exist in...
w00t [Mon, 27 Mar 2006 02:55:50 +0000 (02:55 +0000)]
Removed unused check for valid channel name - if it's invalid, it won't exist in the first place ;p

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

18 years agotrivial: Slight reformat of expiry of line message
w00t [Mon, 27 Mar 2006 00:43:41 +0000 (00:43 +0000)]
trivial: Slight reformat of expiry of line message

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

18 years ago->1.1.0
brain [Sun, 26 Mar 2006 17:58:30 +0000 (17:58 +0000)]
->1.1.0

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

18 years agoTest commit to trunk (1.1) to make sure its not also updating the 1.0 stable branch
brain [Sun, 26 Mar 2006 17:51:35 +0000 (17:51 +0000)]
Test commit to trunk (1.1) to make sure its not also updating the 1.0 stable branch

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

18 years agoRegression for buffering of sockets
brain [Sun, 26 Mar 2006 14:20:57 +0000 (14:20 +0000)]
Regression for buffering of sockets

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

18 years agoRegressed buffering code
brain [Sun, 26 Mar 2006 14:12:45 +0000 (14:12 +0000)]
Regressed buffering code

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

18 years agoRemoval of DoOneIteration stuff
brain [Sun, 26 Mar 2006 13:57:59 +0000 (13:57 +0000)]
Removal of DoOneIteration stuff

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

18 years agoAll software threading stuff *disabled*
brain [Sun, 26 Mar 2006 13:36:14 +0000 (13:36 +0000)]
All software threading stuff *disabled*

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

18 years agoIS_LOCAL check on flushwritebuf
brain [Sun, 26 Mar 2006 13:18:38 +0000 (13:18 +0000)]
IS_LOCAL check on flushwritebuf

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

18 years agoListening sockets are now explicitly nonblocking just in case the socket engine screw...
brain [Sun, 26 Mar 2006 01:52:03 +0000 (01:52 +0000)]
Listening sockets are now explicitly nonblocking just in case the socket engine screws up and says we can accept() when we cant...

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

18 years agoRemove unnecessary casting.
w00t [Sun, 26 Mar 2006 00:04:15 +0000 (00:04 +0000)]
Remove unnecessary casting.

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

18 years agoPossible fix for a desync condition
w00t [Sat, 25 Mar 2006 21:52:45 +0000 (21:52 +0000)]
Possible fix for a desync condition

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

18 years agokill_link safety checks
brain [Sat, 25 Mar 2006 20:07:25 +0000 (20:07 +0000)]
kill_link safety checks

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

18 years agoBugfix for bug #101 being as the fix was just one simple line :)
brain [Sat, 25 Mar 2006 12:10:39 +0000 (12:10 +0000)]
Bugfix for bug #101 being as the fix was just one simple line :)

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

18 years agoRemoval of software threading idea in CullList. Nice idea, but did really whacked...
w00t [Wed, 22 Mar 2006 18:53:20 +0000 (18:53 +0000)]
Removal of software threading idea in CullList. Nice idea, but did really whacked out things with a lot of sockets.

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

18 years agoStack overflow prevention allows deeper recursion
brain [Wed, 22 Mar 2006 07:24:05 +0000 (07:24 +0000)]
Stack overflow prevention allows deeper recursion

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

18 years agounsigned long -> unsigned int: unsigned int should be the same size on AMD64 as it...
brain [Tue, 21 Mar 2006 18:54:57 +0000 (18:54 +0000)]
unsigned long -> unsigned int: unsigned int should be the same size on AMD64 as it is on 32 bit, but unsigned long is NOT.

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

18 years agoTidyup: (unsigned) cast to more explicit (unsigned char)
brain [Tue, 21 Mar 2006 18:38:40 +0000 (18:38 +0000)]
Tidyup: (unsigned) cast to more explicit (unsigned char)

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

18 years agoIt prevents bear.txt, the module though happens to be a .so - thanks Lauren
w00t [Tue, 21 Mar 2006 04:42:18 +0000 (04:42 +0000)]
It prevents bear.txt, the module though happens to be a .so - thanks Lauren

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

18 years agoWhy does EVERYONE forget to include helperfuncs.h?
brain [Mon, 20 Mar 2006 02:02:58 +0000 (02:02 +0000)]
Why does EVERYONE forget to include helperfuncs.h?

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

18 years agoTrivial: ServerPrivmsgAll() sending Notices
brain [Mon, 20 Mar 2006 01:55:15 +0000 (01:55 +0000)]
Trivial: ServerPrivmsgAll() sending Notices

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

18 years agoTrivial: 401 numeric for m_remove when nick or channel cannot be found
brain [Sun, 19 Mar 2006 22:59:30 +0000 (22:59 +0000)]
Trivial: 401 numeric for m_remove when nick or channel cannot be found

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

18 years agoSomeone doesnt validate their input.... ;-p
brain [Sun, 19 Mar 2006 22:41:01 +0000 (22:41 +0000)]
Someone doesnt validate their input.... ;-p

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

18 years agoDon't permit non-opers to /NOTICE $* and /PRIVMSG $* :p
brain [Sun, 19 Mar 2006 21:42:08 +0000 (21:42 +0000)]
Don't permit non-opers to /NOTICE $* and /PRIVMSG $* :p

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

18 years agowho left out m_ssl_dummy?
brain [Sun, 19 Mar 2006 20:56:45 +0000 (20:56 +0000)]
who left out m_ssl_dummy?

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

18 years agoLUSERS oper count was broken and reporting the oper count to always be equal to the...
brain [Sun, 19 Mar 2006 20:38:50 +0000 (20:38 +0000)]
LUSERS oper count was broken and reporting the oper count to always be equal to the number of users (whoops)

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

18 years agoMade 'install' a little quieter
brain [Sun, 19 Mar 2006 18:41:47 +0000 (18:41 +0000)]
Made 'install' a little quieter

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

18 years agoTook out ability to issue parameterless helpop
brain [Sun, 19 Mar 2006 18:37:58 +0000 (18:37 +0000)]
Took out ability to issue parameterless helpop

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

18 years agoCheck for link tags with undefined ipaddr fields (for drunk admins that typo)
brain [Sun, 19 Mar 2006 18:10:24 +0000 (18:10 +0000)]
Check for link tags with undefined ipaddr fields (for drunk admins that typo)

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

18 years agoSomeone didnt know how to check for no parameters (*looks at Craig*)
brain [Sun, 19 Mar 2006 17:59:22 +0000 (17:59 +0000)]
Someone didnt know how to check for no parameters (*looks at Craig*)

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

18 years agoCheck g++ not gcc in configure
brain [Sun, 19 Mar 2006 17:08:59 +0000 (17:08 +0000)]
Check g++ not gcc in configure

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

18 years agoTest fix for topic loop
brain [Sat, 18 Mar 2006 21:22:17 +0000 (21:22 +0000)]
Test fix for topic loop

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

18 years agoAllow adding of new client ports via /REHASH.
brain [Sat, 18 Mar 2006 18:31:03 +0000 (18:31 +0000)]
Allow adding of new client ports via /REHASH.

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

18 years agoDocument m_antibear, m_safelist
brain [Sat, 18 Mar 2006 16:31:08 +0000 (16:31 +0000)]
Document m_antibear, m_safelist
YES OM, ALPHABETICAL ORDER! :D

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

18 years agoSee previous change
brain [Sat, 18 Mar 2006 16:01:23 +0000 (16:01 +0000)]
See previous change

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

18 years agoNo RFC says anything about hiding channels containing only +i users -- and it could...
brain [Sat, 18 Mar 2006 16:00:38 +0000 (16:00 +0000)]
No RFC says anything about hiding channels containing only +i users -- and it could confuse the crap out of people. Removed feature

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

18 years agoTidy up around the ex AMD64 'fix'
om [Fri, 17 Mar 2006 01:39:01 +0000 (01:39 +0000)]
Tidy up around the ex AMD64 'fix'

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

18 years agoDid the same thing here :/
om [Fri, 17 Mar 2006 01:35:38 +0000 (01:35 +0000)]
Did the same thing here :/

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

18 years agoGiving printf formats and not giving it arguments for them != cunning
om [Fri, 17 Mar 2006 01:34:35 +0000 (01:34 +0000)]
Giving printf formats and not giving it arguments for them != cunning

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

18 years agoAMD64 warning 'fix' which tested fine when I added it seems to now...stop things...
om [Fri, 17 Mar 2006 01:27:29 +0000 (01:27 +0000)]
AMD64 warning 'fix' which tested fine when I added it seems to now...stop things connecting...which is just cunning imo

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