brain
2591562ada
Move tons more stuff into class InspIRCd
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4819 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09 17:52:10 +00:00
brain
1cbf29e3cd
Move clientlist and chanlist into InspIRCd*
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4818 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09 16:35:24 +00:00
brain
89749a7440
Move fd_ref_table into class InspIRCd*
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4817 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09 15:36:51 +00:00
brain
ab46b96db4
Move socket_ref and module_sockets vectors/arrays into InspIRCd*. These are public members, which InspSocket can modify.
...
(eventually, this will be marshalled safely through some accessors). When constructing an InspSocket you must now provide
an InspIRCd* instance to 'attach' the socket to.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4812 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09 14:53:19 +00:00
brain
54546ce8b8
do_log -> static void InspIRCd::Log() (with vararg and std::string variants)
...
The #define for this still exists, but maybe should be phased out?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4809 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09 13:19:41 +00:00
brain
09afa50856
ServerConfig extern moved into class InspIRCd
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09 11:33:10 +00:00
brain
6c657e45fd
Add -notraceback startup option, disables automatic backtrace facility so that you can do it yourself with a coredump and gdb (auto backtrace doesnt dump cores)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4751 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06 21:55:01 +00:00
brain
4d941f1b7a
Move more stuff into class DNS
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4651 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-02 19:59:06 +00:00
brain
69ae63ecd2
Change stats recv/send to double, so they can hold truly massive numbers of transferred bytes (they would overflow after about 6 weeks on a busy net otherwise)
...
Fix some warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4450 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-19 15:03:26 +00:00
brain
250c92805c
Change counters to unsigned long to prevent overflow to negative counts
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4449 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-19 14:56:47 +00:00
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