3027 Commits

Author SHA1 Message Date
om
aa21503f06 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
2006-04-09 11:51:24 +00:00
om
77123f4dec 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
2006-04-08 22:33:46 +00:00
om
bf388b2bf1 Obsolete
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3852 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08 18:09:22 +00:00
om
25b4d21f47 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
2006-04-08 17:24:18 +00:00
om
19e361b2f1 ...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3850 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08 17:12:08 +00:00
om
6b72ad31e5 Helps to svn add these too :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3849 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08 17:11:32 +00:00
om
2f95780557 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
2006-04-08 17:10:03 +00:00
om
d54fbc71e2 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
2006-04-08 17:05:48 +00:00
om
315cd88a91 Remove some unused headers and unneeded casts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3846 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08 13:35:46 +00:00
nenolod
ab24f0dca4 - 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
2006-04-08 01:35:02 +00:00
nenolod
ac6b0d3f1d - useless IPv6 yesno() for now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3844 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08 01:12:14 +00:00
nenolod
60d9b67563 - fork off spanningtree module for UUID stuffs :o
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3843 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08 00:20:27 +00:00
om
39d2c7c6df 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
2006-04-07 23:16:45 +00:00
om
e21c3bb140 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
2006-04-07 12:21:11 +00:00
om
69d39e0887 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
2006-04-07 11:51:03 +00:00
om
d2afbfcf42 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
2006-04-07 11:47:26 +00:00
w00t
a7b0c26a4c 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
2006-04-06 02:25:20 +00:00
brain
ec48546cd0 More verbose error output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3837 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04 20:06:38 +00:00
brain
0e8f466301 Connection refused bug is FIXED!!!!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3835 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04 20:02:35 +00:00
om
f11a2d8a06 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
2006-04-04 19:06:43 +00:00
brain
19cfbc8c3d Bad brain bad
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3832 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04 17:26:17 +00:00
brain
a03731468e Tweaks to hopefully prevent 100% cpu use issue
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3831 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04 17:23:34 +00:00
brain
5c1affaf21 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
2006-04-04 16:12:34 +00:00
om
aa36987ef7 And the bit I missed... :/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3829 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04 14:30:47 +00:00
om
6f52f3ec67 Remove a load of unneeded debugging output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3828 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04 14:29:02 +00:00
brain
c8bfca5fdb 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
2006-04-04 10:19:01 +00:00
om
024c564e53 Optimisations
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3826 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04 07:44:05 +00:00
om
b450c43062 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
2006-04-04 06:47:22 +00:00
om
0a06756363 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
2006-04-04 06:43:26 +00:00
om
ea27cd70c9 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
2006-04-04 06:32:08 +00:00
om
24fc512fd9 Remove duplicate error messages
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3822 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04 06:25:23 +00:00
om
98c867cf09 Die properly on included config file errors
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3821 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04 06:22:52 +00:00
om
b68b58faba 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
2006-04-04 06:21:14 +00:00
om
ea1a5c17b5 combine a couple of if()'s
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3819 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04 06:15:20 +00:00
om
1796a63b82 Remove some random unneeded casts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3818 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04 06:01:31 +00:00
om
54963bee70 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
2006-04-04 05:55:54 +00:00
w00t
7db1335b25 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
2006-04-04 05:53:22 +00:00
w00t
0fb892afc9 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
2006-04-04 05:42:33 +00:00
om
1948b0ac28 undo w00t's screwup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3812 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04 02:20:59 +00:00
w00t
c116475922 This doesn't belong in userprocess.cpp. :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3811 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04 00:41:28 +00:00
brain
32ae5cb126 Test fixes for cpu eating issue
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3809 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-03 23:31:55 +00:00
om
09ffbb0339 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
2006-04-03 22:44:24 +00:00
om
18c7e41b30 Initialise OperSpyWhois value to false, just in case.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3806 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-03 17:27:44 +00:00
om
bc46126268 Remove un-needed strlen and pointer in duration()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3805 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-03 17:25:14 +00:00
om
e8ad4c8cb0 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
2006-04-03 10:22:03 +00:00
brain
e3ebbb9292 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
2006-04-03 09:58:44 +00:00
brain
0c63269d54 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
2006-04-03 02:34:50 +00:00
om
c8cf429f7b Undo me screwing stuff up
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3797 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-02 18:25:11 +00:00
om
0a6ee7c4af 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
2006-04-02 18:13:21 +00:00
brain
fde5d20a0a 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
2006-04-01 23:40:53 +00:00