321 Commits

Author SHA1 Message Date
brain
62b550f653 Inherit tons of stuff from classbase that should always have been
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4298 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 18:54:25 +00:00
brain
dc42f264d7 relocate the Move* methods to private: where they belong, rename erase_factory and erase_module to be more appropriate EraseFactory and EraseModule methods
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4098 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-01 15:07:09 +00:00
brain
75eb9178d5 Make WritePID a public function of class InspIRCd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4097 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-01 15:01:32 +00:00
brain
55de6781e0 Move SetSignals(), Start() and DaemonSeed() into private methods of class InspIRCd, move MakeLowerMap() into private: section
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4096 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-01 14:56:33 +00:00
om
63a3d49a01 And add the include to make all the modules compile...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4085 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-29 15:01:28 +00:00
om
042de68ee5 This already adds the file and line number itself, call do_log() rather than log() then
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4084 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-29 14:23:35 +00:00
brain
1ee66f376b Check for NULL, set pointers to NULL after deletion
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3908 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-25 09:52:16 +00:00
brain
8b02407d93 Fix various typos and warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3907 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-24 17:28:49 +00:00
brain
4b45dc1234 Typo in the macro :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3905 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-24 13:30:04 +00:00
brain
5d407fb44c delete operator tracking in debug mode (using a macro -- live with it.)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-24 13:28:07 +00:00
om
e7f08977f2 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
2006-04-10 20:08:30 +00:00
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
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
brain
883c04a08a Removal of ancient TRUE/FALSE #defines (C-ish stuff)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3700 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-13 13:42:56 +00:00
brain
4aaf01aafa Tidyup and move ConvToStr to a publically accessible place
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3640 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-10 17:51:26 +00:00
brain
c3b861b250 Added IS_SINGLE, see comment in include/inspircd.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3438 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 19:34:57 +00:00
om
7e918919b0 Add comment stressing the importance of certain elements of this file
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3377 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-27 17:29:04 +00:00
brain
080a9f5d24 Test two
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3362 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-27 10:22:10 +00:00
brain
747ae4b7a5 Constant eating 20% cpu since last nights commit - test fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3361 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-27 10:13:22 +00:00
brain
65d0d4fb36 Moved the contents of the mainloop into a function called InspIRCd::DoOneIteration().
We can then use this to 'yield' if incoming server text is taking too long to process


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3342 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26 19:53:25 +00:00
om
a168cf04da Nothing to see here, nothing, at all.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3316 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-24 01:02:27 +00:00
brain
38d7b5b0d9 *EXPERIMENTAL* <options:hidesplits> ircu-style quit munging for netsplits
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3031 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03 00:25:28 +00:00
brain
cdaf7ac378 Added PRIORITY_BEFORE and PRIORITY_AFTER (see src/modules/m_hostchange.cpp for how it works, function Prioritize())
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2889 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25 16:31:05 +00:00
brain
1383dba43e Updated copyrights in headers etc using perl inplace edit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15 15:59:11 +00:00
brain
527077d8c0 Untested priority system for modules to move themselves to the start or end of the module queue
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2758 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-09 21:59:58 +00:00
brain
df06ab6044 Cached ISUPPORT
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2702 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-29 21:57:34 +00:00
brain
c7be4f8730 Missing semicolon
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2531 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16 12:56:01 +00:00
brain
c07c9729f3 Moved serverstats* stats to InspIRCd class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2528 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16 12:47:09 +00:00
brain
f5754cbc9c Moved SocketEngine* SE into InspIRCd class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2527 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16 12:32:01 +00:00
brain
eb61271c43 Moved a ton of defined to modules.h that belong there
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2524 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16 12:07:02 +00:00
brain
064d185361 So many inclusion loops it makes your head spin - forward declaring tons of classes to fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2523 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16 12:00:52 +00:00
brain
092eb69a53 Moved ModeGrok and Parser into InspIRCd class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2522 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16 11:47:07 +00:00
brain
898e8da565 Moved command parsing crap into command_parse.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2505 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16 09:56:33 +00:00
brain
7cf8d9c1c8 Moved BoundPortCount into serverstats
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2504 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16 09:30:53 +00:00
brain
0465fd1da7 Full removal of inspircd_util.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2485 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15 18:08:07 +00:00
brain
0a31bcd5ae Moved rehashnick and force_nickchange to users.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2478 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15 14:19:37 +00:00
brain
818ead2412 Tidied up call_handler to use strings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2476 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15 14:12:13 +00:00
brain
0c55e6d24b Moved a ton of user related functions from inspircd.cpp to users.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2468 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15 13:44:17 +00:00
brain
735927abfe Added more stuff to InspIRCd class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2452 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 20:41:07 +00:00
brain
b5bb8ac184 Sucky stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2449 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 19:01:38 +00:00
brain
26c64a80a0 Made LoadModule and UnloadModule public
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2444 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 18:36:06 +00:00
brain
a50273328b Tidy tidy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2443 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 18:34:57 +00:00
brain
d0f0cbea07 Removed externs for module_sockets
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2442 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 18:33:22 +00:00
brain
c76bb1695f Shuffling stuff about
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2439 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 18:22:11 +00:00
brain
a51984ba6f Moved a bunch of stuff into class InspIRCd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2438 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 18:17:13 +00:00
brain
417432f2be TittyBiscuits!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2429 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 17:53:32 +00:00
brain
a467c0fe9e Shitty include loops
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2428 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 17:46:22 +00:00
brain
f99478acd5 Tidied up typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2426 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 17:41:38 +00:00
brain
f9bc7a311d Made inspircd itself a class, and called its instance TittyBiscuits, just because.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2425 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 17:40:06 +00:00