]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
18 years agoExtra stuff to explicitly link execinfo.so
brain [Thu, 20 Apr 2006 17:41:12 +0000 (17:41 +0000)]
Extra stuff to explicitly link execinfo.so

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

18 years agoTweaks (FIXES)
brain [Thu, 20 Apr 2006 17:35:22 +0000 (17:35 +0000)]
Tweaks (FIXES)

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

18 years agoinit_module
brain [Thu, 20 Apr 2006 17:33:18 +0000 (17:33 +0000)]
init_module

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

18 years agoAlright, who fucked with this?
brain [Thu, 20 Apr 2006 17:29:43 +0000 (17:29 +0000)]
Alright, who fucked with this?

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

18 years agoFixes for lib dirs
brain [Thu, 20 Apr 2006 16:59:28 +0000 (16:59 +0000)]
Fixes for lib dirs

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

18 years agoAdd /usr/local/include (why isnt this included as default?!)
brain [Thu, 20 Apr 2006 16:50:27 +0000 (16:50 +0000)]
Add /usr/local/include (why isnt this included as default?!)

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

18 years agoexecinfo - backtrace() and backtrace_symbols() where available
brain [Thu, 20 Apr 2006 16:26:13 +0000 (16:26 +0000)]
execinfo - backtrace() and backtrace_symbols() where available

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

18 years agoExecinfo stuff
brain [Thu, 20 Apr 2006 16:13:01 +0000 (16:13 +0000)]
Execinfo stuff

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

18 years agoAdded detection of execinfo.h (part of the libexecinfo port on freebsd, default in...
brain [Thu, 20 Apr 2006 16:09:03 +0000 (16:09 +0000)]
Added detection of execinfo.h (part of the libexecinfo port on freebsd, default in glibc) -- can be used to make inspircd generate its OWN backtraces :>

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

18 years agoFix for crashes in m_ident (should work)
brain [Tue, 18 Apr 2006 11:32:53 +0000 (11:32 +0000)]
Fix for crashes in m_ident (should work)

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

18 years agoBail if no g++
brain [Fri, 14 Apr 2006 22:00:03 +0000 (22:00 +0000)]
Bail if no g++

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

18 years agoFix reversed parameters in x:y - joinflood was not broken
brain [Fri, 14 Apr 2006 13:13:25 +0000 (13:13 +0000)]
Fix reversed parameters in x:y - joinflood was not broken

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

18 years agomake make install install ssl stuff
om [Thu, 13 Apr 2006 23:29:11 +0000 (23:29 +0000)]
make make install install ssl stuff

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

18 years agoBetter handling of dependencies, doesnt always rebuild mode handler files now
brain [Thu, 13 Apr 2006 10:58:03 +0000 (10:58 +0000)]
Better handling of dependencies, doesnt always rebuild mode handler files now

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

18 years agoMakefile tweaks
brain [Thu, 13 Apr 2006 10:41:10 +0000 (10:41 +0000)]
Makefile tweaks

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

18 years agoNot required
brain [Thu, 13 Apr 2006 10:39:20 +0000 (10:39 +0000)]
Not required

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

18 years agoTest
brain [Thu, 13 Apr 2006 10:38:55 +0000 (10:38 +0000)]
Test

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

18 years agoSomeone didnt test their fixes in cygwin *gets tortoise torture kit*
brain [Wed, 12 Apr 2006 01:07:43 +0000 (01:07 +0000)]
Someone didnt test their fixes in cygwin *gets tortoise torture kit*

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

18 years agoDelete spanningtree_ng for now, it breaks cygwin compile - and has no changes. Commit...
w00t [Wed, 12 Apr 2006 00:58:45 +0000 (00:58 +0000)]
Delete spanningtree_ng for now, it breaks cygwin compile - and has no changes. Commit /check, though it's probably broken at current.

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

18 years agoMade FindMatching(Global|Local) available via users.h
brain [Wed, 12 Apr 2006 00:37:36 +0000 (00:37 +0000)]
Made FindMatching(Global|Local) available via users.h

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

18 years agoDie windows die.
om [Tue, 11 Apr 2006 22:50:27 +0000 (22:50 +0000)]
Die windows die.

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

18 years agoRemove an extern, partly because it's unused, partly because it then gets shadowed...
om [Tue, 11 Apr 2006 22:23:34 +0000 (22:23 +0000)]
Remove an extern, partly because it's unused, partly because it then gets shadowed by something else, but mostly because it confused the hell out of me :/

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

18 years agoRoute some more stuff through socket.h and hash_map.h. Add #define protection to...
om [Mon, 10 Apr 2006 22:50:41 +0000 (22:50 +0000)]
Route some more stuff through socket.h and hash_map.h. Add #define protection to timer.h and remove some unneeded includes and externs from timer.cpp

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

18 years agoRouting more socket includes through socket.h
om [Mon, 10 Apr 2006 22:16:34 +0000 (22:16 +0000)]
Routing more socket includes through socket.h

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

18 years agoTypedef an ugly iterator, dont send mode string if no modes were in the output sequence
brain [Mon, 10 Apr 2006 20:43:03 +0000 (20:43 +0000)]
Typedef an ugly iterator, dont send mode string if no modes were in the output sequence

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

18 years agoA few more typedefs defined and put into use.
om [Mon, 10 Apr 2006 20:38:26 +0000 (20:38 +0000)]
A few more typedefs defined and put into use.

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

18 years agoAdd time.h include to inspircd.h. Random cleanups in channels.cpp, mostly using the...
om [Mon, 10 Apr 2006 20:08:30 +0000 (20:08 +0000)]
Add time.h include to inspircd.h. Random cleanups in channels.cpp, mostly using the typedef'ed names already defined rather than having the full template names everywhere. Remove some unneeded casts too.

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

18 years agoAssorted changes here, Extend() is not templated so you can pass it any pointer type...
om [Mon, 10 Apr 2006 19:30:48 +0000 (19:30 +0000)]
Assorted changes here, Extend() is not templated so you can pass it any pointer type and it will automatically be cast to char* for you. Also some speedups, store an iterator rather than calling find() once to check if it exists and again to access the value.

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

18 years agoMore fixes
brain [Mon, 10 Apr 2006 12:45:40 +0000 (12:45 +0000)]
More fixes

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

18 years agoTypo fixes, move some stuff about
brain [Mon, 10 Apr 2006 12:44:19 +0000 (12:44 +0000)]
Typo fixes, move some stuff about

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

18 years agoINSERT foot INTO mouth WHERE user='Brain'
brain [Mon, 10 Apr 2006 12:17:15 +0000 (12:17 +0000)]
INSERT foot INTO mouth WHERE user='Brain'

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

18 years agoI hate HATE HATE templates.
brain [Mon, 10 Apr 2006 12:14:28 +0000 (12:14 +0000)]
I hate HATE HATE templates.

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

18 years agoistringstream not ostringstream
brain [Mon, 10 Apr 2006 12:11:47 +0000 (12:11 +0000)]
istringstream not ostringstream

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

18 years agoExtra allowance for modes which have different number of params when being set to...
brain [Mon, 10 Apr 2006 12:11:00 +0000 (12:11 +0000)]
Extra allowance for modes which have different number of params when being set to being unset (read as: jro smoking craq)

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

18 years agoStart of new mode parser
brain [Mon, 10 Apr 2006 11:50:48 +0000 (11:50 +0000)]
Start of new mode parser

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

18 years agoOm's way is better and lets watchers change mode parameters for the modes theyre...
brain [Sun, 9 Apr 2006 20:50:12 +0000 (20:50 +0000)]
Om's way is better and lets watchers change mode parameters for the modes theyre watching

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

18 years agoStart of mode parser refactoring
brain [Sun, 9 Apr 2006 20:40:47 +0000 (20:40 +0000)]
Start of mode parser refactoring

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

18 years agoShuffle some more includes around, const reference a few functions in inspircd.*
om [Sun, 9 Apr 2006 11:51:24 +0000 (11:51 +0000)]
Shuffle some more includes around, const reference a few functions in inspircd.*

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

18 years agoRemove references to inspircd_io from these, stop configure making all the modules...
om [Sat, 8 Apr 2006 22:33:46 +0000 (22:33 +0000)]
Remove references to inspircd_io from these, stop configure making all the modules depend on it too. And remove some more un-needed includes

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

18 years agoObsolete
om [Sat, 8 Apr 2006 18:09:22 +0000 (18:09 +0000)]
Obsolete

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

18 years agoRemove uneccessary socket includes now included in socket.h
om [Sat, 8 Apr 2006 17:24:18 +0000 (17:24 +0000)]
Remove uneccessary socket includes now included in socket.h

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

18 years ago...
om [Sat, 8 Apr 2006 17:12:08 +0000 (17:12 +0000)]
...

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

18 years agoHelps to svn add these too :P
om [Sat, 8 Apr 2006 17:11:32 +0000 (17:11 +0000)]
Helps to svn add these too :P

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

18 years agoAnd remember to add this one, just a little header with the #ifdef GCC3 ... stuff...
om [Sat, 8 Apr 2006 17:10:03 +0000 (17:10 +0000)]
And remember to add this one, just a little header with the #ifdef GCC3 ... stuff that's repeated in about 56543432 places

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

18 years agoSplit inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits going...
om [Sat, 8 Apr 2006 17:05:48 +0000 (17:05 +0000)]
Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits going into inspircd.*, doesn't look like I've broken anything... :P

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

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