]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
18 years agoAdd tiny perl script to detect version and pass an appropriate -D to gcc. Make m_pgsq...
om [Fri, 21 Jul 2006 11:42:55 +0000 (11:42 +0000)]
Add tiny perl script to detect version and pass an appropriate -D to gcc. Make m_pgsql #ifdef around PQescapeStringConn() which is only available in PostgreSQL >= 8.1.4

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

18 years agoAPI header and client module updates for new multi-parameter query request. Needs...
om [Fri, 21 Jul 2006 08:37:42 +0000 (08:37 +0000)]
API header and client module updates for new multi-parameter query request. Needs proper implementation in m_pgsql and documentation

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

18 years agoSlight tidyup: type name = type(args); --> type name(args);
om [Fri, 21 Jul 2006 00:48:42 +0000 (00:48 +0000)]
Slight tidyup: type name = type(args); --> type name(args);

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

18 years agoMake SQLexception inherit ModuleException
om [Thu, 20 Jul 2006 19:06:31 +0000 (19:06 +0000)]
Make SQLexception inherit ModuleException

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

18 years agoChange formatting
brain [Thu, 20 Jul 2006 18:27:58 +0000 (18:27 +0000)]
Change formatting

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

18 years agoAdd comments, remove debug, alter message in ./configure
brain [Thu, 20 Jul 2006 18:26:09 +0000 (18:26 +0000)]
Add comments, remove debug, alter message in ./configure

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

18 years agoFixed, no longer a memory leak (Thread leak)
brain [Thu, 20 Jul 2006 18:02:09 +0000 (18:02 +0000)]
Fixed, no longer a memory leak (Thread leak)

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

18 years agoUpdates, should be able to safely unload client modules with queries in progress...
om [Thu, 20 Jul 2006 17:47:15 +0000 (17:47 +0000)]
Updates, should be able to safely unload client modules with queries in progress now...
Ideas on how to test this welcome ;p

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

18 years agoOkay, working PostgreSQL module, API header and example client module in /extra/...
om [Thu, 20 Jul 2006 17:19:16 +0000 (17:19 +0000)]
Okay, working PostgreSQL module, API header and example client module in /extra/, enjoy

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

18 years agoSomeone please take a look at this and tell me why a thread doesnt free itself like...
brain [Thu, 20 Jul 2006 17:16:08 +0000 (17:16 +0000)]
Someone please take a look at this and tell me why a thread doesnt free itself like it should when it exits, freeing the ram

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

18 years agoMove a confusing debug message within its conditional
brain [Thu, 20 Jul 2006 16:52:08 +0000 (16:52 +0000)]
Move a confusing debug message within its conditional

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

18 years agoMake threaded dns stable by placing some mutexes around some stl stuff (this really...
brain [Thu, 20 Jul 2006 16:48:44 +0000 (16:48 +0000)]
Make threaded dns stable by placing some mutexes around some stl stuff (this really needs lots of testing now)

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

18 years agoThreaded dns stuff - im going to try and make this stable in 1.1
brain [Thu, 20 Jul 2006 16:11:50 +0000 (16:11 +0000)]
Threaded dns stuff - im going to try and make this stable in 1.1

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

18 years agoExtra sanity checks
brain [Thu, 20 Jul 2006 16:08:00 +0000 (16:08 +0000)]
Extra sanity  checks

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

18 years agoOkay, this is getting towards working now. It just needs the API finishing...everythi...
om [Thu, 20 Jul 2006 13:15:43 +0000 (13:15 +0000)]
Okay, this is getting towards working now. It just needs the API finishing...everything in the backend part seems to be working okay

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

18 years agoRemoved all that lastcreate and wantclose craq from dns.cpp (WHAT THE FUCK WERE THE...
brain [Wed, 19 Jul 2006 21:46:00 +0000 (21:46 +0000)]
Removed all that lastcreate and wantclose craq from dns.cpp (WHAT THE FUCK WERE THE FIREDNS GUYS SMOKING)

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

18 years agoStability fix
brain [Wed, 19 Jul 2006 20:17:26 +0000 (20:17 +0000)]
Stability fix

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

18 years agoChange stats recv/send to double, so they can hold truly massive numbers of transferr...
brain [Wed, 19 Jul 2006 15:03:26 +0000 (15:03 +0000)]
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

18 years agoChange counters to unsigned long to prevent overflow to negative counts
brain [Wed, 19 Jul 2006 14:56:47 +0000 (14:56 +0000)]
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

18 years agoIncrease size to unsigned long
brain [Wed, 19 Jul 2006 14:54:18 +0000 (14:54 +0000)]
Increase size to unsigned long

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

18 years agoCompletely remove need for memset.
brain [Wed, 19 Jul 2006 14:52:39 +0000 (14:52 +0000)]
Completely remove need for memset.
When we uniq_id++, we can wrap to 0 theoretically after 4 billion output messages, HOWEVER, when we do, 0 will be a valid comparison within the array :p

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

18 years agoSet 'copyright' property on all items, informational only, effects nothing
brain [Wed, 19 Jul 2006 13:55:06 +0000 (13:55 +0000)]
Set 'copyright' property on all items, informational only, effects nothing

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

18 years agoChange properties
brain [Wed, 19 Jul 2006 13:52:09 +0000 (13:52 +0000)]
Change properties

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

18 years agoTest change
brain [Wed, 19 Jul 2006 13:50:16 +0000 (13:50 +0000)]
Test change

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

18 years agoAdd #include <sys/select.h> to select engine, we probably need it
brain [Wed, 19 Jul 2006 13:29:06 +0000 (13:29 +0000)]
Add #include <sys/select.h> to select engine, we probably need it

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

18 years agoFix MOTD
brain [Wed, 19 Jul 2006 13:12:03 +0000 (13:12 +0000)]
Fix MOTD

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

18 years agoWhoops, forgot SocketEngine::SocketEngine() gets called recursively from *Engine...
brain [Wed, 19 Jul 2006 12:58:57 +0000 (12:58 +0000)]
Whoops, forgot SocketEngine::SocketEngine() gets called recursively from *Engine::*Engine() (where * is the type being built)

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

18 years agoFix typo in kqueue engine
brain [Wed, 19 Jul 2006 12:54:56 +0000 (12:54 +0000)]
Fix typo in kqueue engine

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

18 years ago* Seperate out socket engines into derived classes of SocketEngine.
brain [Wed, 19 Jul 2006 12:51:21 +0000 (12:51 +0000)]
* Seperate out socket engines into derived classes of SocketEngine.
* Add a classfactory SocketEngineFactory to create a new socketengine of the configured type
* Implement configure hax to compile only the required socketengine and the base class
* Eliminates ugly defines, and is more in line with C++ ways

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

18 years agoChange size of already_sent from char to int to work with uniq_id value
brain [Wed, 19 Jul 2006 11:13:15 +0000 (11:13 +0000)]
Change size of already_sent from char to int to work with uniq_id value

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

18 years agoSpeed up writecommon, writecommon_noformat, writechannel, etc (by quite a bit) -...
brain [Wed, 19 Jul 2006 11:00:55 +0000 (11:00 +0000)]
Speed up writecommon, writecommon_noformat, writechannel, etc (by quite a bit) - eliminate 99.99999999999% of the memsets

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

18 years agoSpecial checking for muppet providers that make their reverse resolution resolve...
brain [Wed, 19 Jul 2006 10:47:46 +0000 (10:47 +0000)]
Special checking for muppet providers that make their reverse resolution resolve back to the same reverse resolution.
*WHY* DO PEOPLE IN CONTROL OF THE RDNS RECORDS EVEN *ALLOW* SUCH LUNACY?!

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

18 years agoFix motd with new buffering
brain [Wed, 19 Jul 2006 09:16:45 +0000 (09:16 +0000)]
Fix motd with new buffering

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

18 years agoTried to implement sprintf that returns std::string of any size, realized it would...
brain [Tue, 18 Jul 2006 21:43:37 +0000 (21:43 +0000)]
Tried to implement sprintf that returns std::string of any size, realized it would scale like unreal scales to ircnet (e.g. it wouldnt!) so took it back out.
Moved chop() functionality into userrec::AddWriteBuf and make it nicer (no strlen)

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

18 years agoTweaks for nonblocking dns
brain [Sun, 16 Jul 2006 21:28:09 +0000 (21:28 +0000)]
Tweaks for nonblocking dns

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

18 years agoImproved connect time by not referencing the hash for each user value, store a temp...
brain [Sun, 16 Jul 2006 21:23:27 +0000 (21:23 +0000)]
Improved connect time by not referencing the hash for each user value, store a temp pointer

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

18 years agoIgnore empty lines, don't try and process them as commands
brain [Sun, 16 Jul 2006 20:13:40 +0000 (20:13 +0000)]
Ignore empty lines, don't try and process them as commands

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

18 years agoOnly attempt forward lookup if the user still exists
brain [Sun, 16 Jul 2006 20:01:16 +0000 (20:01 +0000)]
Only attempt forward lookup if the user still exists

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

18 years agoRemove some casts
brain [Sun, 16 Jul 2006 19:58:25 +0000 (19:58 +0000)]
Remove some casts

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

18 years agoCraq removal service, at your service
brain [Sun, 16 Jul 2006 19:54:17 +0000 (19:54 +0000)]
Craq removal service, at your service

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

18 years agoi'm doing this in increments, because if i try and change too much at once, it breaks
brain [Sun, 16 Jul 2006 19:45:24 +0000 (19:45 +0000)]
i'm doing this in increments, because if i try and change too much at once, it breaks

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

18 years agoFixing sendq crask
brain [Sun, 16 Jul 2006 19:43:38 +0000 (19:43 +0000)]
Fixing sendq crask

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

18 years agoUpdate to new API - I think this is right, compiles...
om [Sun, 16 Jul 2006 19:14:31 +0000 (19:14 +0000)]
Update to new API - I think this is right, compiles...

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

18 years agoFixed it myself so i can carry on coding1
brain [Sun, 16 Jul 2006 17:49:43 +0000 (17:49 +0000)]
Fixed it myself so i can carry on coding1

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

18 years agoMore WHO
w00t [Sun, 16 Jul 2006 17:27:49 +0000 (17:27 +0000)]
More WHO

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

18 years agoWHO refactoring. In progress currently.
w00t [Sun, 16 Jul 2006 17:03:35 +0000 (17:03 +0000)]
WHO refactoring. In progress currently.

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

18 years ago*Changed user input/output buffering to incur less copies
brain [Sun, 16 Jul 2006 15:45:13 +0000 (15:45 +0000)]
*Changed user input/output buffering to incur less copies
*Fix warnings in command_parse

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

18 years agoChange to a DIFFERENT HOOK for added goodness.
w00t [Sun, 16 Jul 2006 15:44:00 +0000 (15:44 +0000)]
Change to a DIFFERENT HOOK for added goodness.

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

18 years agoDocument irc::commasepstream and irc::tokenstream
brain [Sun, 16 Jul 2006 15:31:53 +0000 (15:31 +0000)]
Document irc::commasepstream and irc::tokenstream

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

18 years agoDocument loopcall (its still complicated in concept, but now easier to read and possi...
brain [Sun, 16 Jul 2006 15:21:34 +0000 (15:21 +0000)]
Document loopcall (its still complicated in concept, but now easier to read and possibly easier to understand)

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

18 years agoCreated new class irc::commasepstream.
brain [Sun, 16 Jul 2006 15:08:59 +0000 (15:08 +0000)]
Created new class irc::commasepstream.
Will read comma seperated lists and works identically to irc::tokenstream
It's re-entrant so we can run two of them together for JOIN

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

18 years agoAdjustment
brain [Sun, 16 Jul 2006 14:30:50 +0000 (14:30 +0000)]
Adjustment

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

18 years agoFix socket leak properly this time
brain [Sun, 16 Jul 2006 13:52:10 +0000 (13:52 +0000)]
Fix socket leak properly this time

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

18 years agoFix case sensitive commands issue due to new std::string based parser, improve the...
brain [Sun, 16 Jul 2006 13:02:38 +0000 (13:02 +0000)]
Fix case sensitive commands issue due to new std::string based parser, improve the craq disabled commands check that was potentially O(n) where n is the number of disabled commands (erk)

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

18 years agomass tidyup, change A LOT of stuff to const char** which was char** (such as paramete...
brain [Sun, 16 Jul 2006 12:18:29 +0000 (12:18 +0000)]
mass tidyup, change A LOT of stuff to const char** which was char** (such as parameters to commands in handlers)
which makes the new lineparser work neater with no casts. This also removes tons of casts from other locations
(all in all, ive added 2 casts and removed almost a hundred)

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

18 years agoMAJOR tidy of line parser, some parts rewritten and major chunks removed
brain [Sun, 16 Jul 2006 08:38:33 +0000 (08:38 +0000)]
MAJOR tidy of line parser, some parts rewritten and major chunks removed

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

18 years agoFixes/codes of the query queue, various prototypes and stuff...mostly commited so...
om [Sun, 16 Jul 2006 07:24:17 +0000 (07:24 +0000)]
Fixes/codes of the query queue, various prototypes and stuff...mostly commited so I can do other stuff without typing the paths out manually

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

18 years agoconst the std::string reference in tokenstream's constructor
om [Sun, 16 Jul 2006 07:23:03 +0000 (07:23 +0000)]
const the std::string reference in tokenstream's constructor

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

18 years agoDisable test suite
brain [Sun, 16 Jul 2006 02:16:10 +0000 (02:16 +0000)]
Disable test suite

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

18 years agoImproved this a lot
brain [Sun, 16 Jul 2006 02:15:45 +0000 (02:15 +0000)]
Improved this a lot

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

18 years agoThis should be faster, we read it like a stream now with GetToken until GetToken...
brain [Sun, 16 Jul 2006 02:09:58 +0000 (02:09 +0000)]
This should be faster, we read it like a stream now with GetToken until GetToken returns "".
The optimizations done by gcc means theres only one std::string constructor call per token, which is mmm yum.

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

18 years agoirc::tokenstream is a token parser which using std::string and std::vector builds...
brain [Sun, 16 Jul 2006 01:40:58 +0000 (01:40 +0000)]
irc::tokenstream is a token parser which using std::string and std::vector builds a list of tokens using irc parsing rules.
e.g.:
:arse PRIVMSG #chan :foo bar baz
becomes
a[0] = ":arse", a[1] = "PRIVMSG", a[2] = "#chan", a[3] = "foo bar baz".

*** SOMEONE *** needs to optimize this or at least verify its neatness (without making it total craq and unreadable). Feel free to mess with my code.
Any optimizations you make, run them against the COMMENTED OUT TEST SUITE at the top of main() in src/inspircd.cpp and ensure ALL output is the same
with no crashes. (note: if you comment out and build with the test suite, all inspircd will do is output test data and exit!)

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

18 years agoRemoved GCC2 checks as we havent supported gcc2 for years
brain [Sat, 15 Jul 2006 17:35:31 +0000 (17:35 +0000)]
Removed GCC2 checks as we havent supported gcc2 for years

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

18 years ago3.3 -> 3.4 fix (the 3.3 stuff was actually craq)
brain [Fri, 14 Jul 2006 21:29:23 +0000 (21:29 +0000)]
3.3 -> 3.4 fix (the 3.3 stuff was actually craq)

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

18 years agoDon't allow SAQUIT, SANICK, SAPART and SAJOIN on ulined clients :)
brain [Fri, 14 Jul 2006 16:08:48 +0000 (16:08 +0000)]
Don't allow SAQUIT, SANICK, SAPART and SAJOIN on ulined clients :)

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

18 years agoTidyup
brain [Fri, 14 Jul 2006 15:28:16 +0000 (15:28 +0000)]
Tidyup

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

18 years agoChanged to different way of clearing users on netsplit (uses less ram and should...
brain [Fri, 14 Jul 2006 15:25:25 +0000 (15:25 +0000)]
Changed to different way of clearing users on netsplit (uses less ram and should be less bug prone)
WE NEED TESTERS FOR THIS. MAKE TEST NETWORKS FULL OF 1_0_STABLE SVN SERVERS AND FILL THEM WITH BOTS/PSEUDOS THEN CAUSE NETSPLITS!

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

18 years agoAdd <options:nouserdns> - defaults to off. if set to on, no user dns lookups are...
brain [Fri, 14 Jul 2006 13:02:40 +0000 (13:02 +0000)]
Add <options:nouserdns> - defaults to off. if set to on, no user dns lookups are performed, saving resources

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

18 years agoRollback dns change
brain [Fri, 14 Jul 2006 12:14:42 +0000 (12:14 +0000)]
Rollback dns change

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

18 years agoFix dns socket leak found in stable
brain [Fri, 14 Jul 2006 11:43:17 +0000 (11:43 +0000)]
Fix dns socket leak found in stable

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

18 years agoMove a notice around
brain [Thu, 13 Jul 2006 16:30:55 +0000 (16:30 +0000)]
Move a notice around

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

18 years agoFix -modupdate to actually work (doesnt force a total rebuild when you add a module)
brain [Thu, 13 Jul 2006 16:30:18 +0000 (16:30 +0000)]
Fix -modupdate to actually work (doesnt force a total rebuild when you add a module)

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

18 years agoMissing newline
brain [Thu, 13 Jul 2006 16:21:24 +0000 (16:21 +0000)]
Missing newline

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

18 years agoOutput module counts on ./configure -update
brain [Thu, 13 Jul 2006 16:19:52 +0000 (16:19 +0000)]
Output module counts on ./configure -update

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

18 years agoFinal test.
brain [Wed, 12 Jul 2006 19:36:39 +0000 (19:36 +0000)]
Final test.

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

18 years agoTest
brain [Wed, 12 Jul 2006 19:34:27 +0000 (19:34 +0000)]
Test

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

18 years agoMirroring test
brain [Wed, 12 Jul 2006 19:30:22 +0000 (19:30 +0000)]
Mirroring test

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

18 years agoTest commit (this should be auto synched to staffbox)
brain [Wed, 12 Jul 2006 19:28:31 +0000 (19:28 +0000)]
Test commit (this should be auto synched to staffbox)

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

18 years agoTest commit
brain [Wed, 12 Jul 2006 19:24:15 +0000 (19:24 +0000)]
Test commit

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

18 years agoTiny tiny docs update, not even worth re-generating the docs for atm
brain [Wed, 12 Jul 2006 16:15:00 +0000 (16:15 +0000)]
Tiny tiny docs update, not even worth re-generating the docs for atm

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

18 years agoDocument class Resolver
brain [Wed, 12 Jul 2006 15:35:59 +0000 (15:35 +0000)]
Document class Resolver

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

18 years agoRemoved debugging
brain [Wed, 12 Jul 2006 15:14:56 +0000 (15:14 +0000)]
Removed debugging

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

18 years agoAll this works now (hopefully)
brain [Wed, 12 Jul 2006 15:14:20 +0000 (15:14 +0000)]
All this works now (hopefully)

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

18 years agoFix typo
brain [Wed, 12 Jul 2006 14:17:09 +0000 (14:17 +0000)]
Fix typo

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

18 years agoSeems to work ok
brain [Wed, 12 Jul 2006 14:16:31 +0000 (14:16 +0000)]
Seems to work ok

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

18 years agoI don't know if this works yet -- needs testing
brain [Wed, 12 Jul 2006 14:02:23 +0000 (14:02 +0000)]
I don't know if this works yet -- needs testing
Nonblocking DNS calls

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

18 years agoA few updates to the API header
om [Wed, 12 Jul 2006 13:29:44 +0000 (13:29 +0000)]
A few updates to the API header

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

18 years agoAdd part-finished m_cgiirc module for Brain to play with
om [Wed, 12 Jul 2006 13:29:04 +0000 (13:29 +0000)]
Add part-finished m_cgiirc module for Brain to play with

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

18 years agoAdd exception handling here
brain [Wed, 12 Jul 2006 13:01:06 +0000 (13:01 +0000)]
Add exception handling here

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

18 years agoThrow moduleexception if you:
brain [Wed, 12 Jul 2006 12:58:56 +0000 (12:58 +0000)]
Throw moduleexception if you:
(a) try and resolve hosts before the core is initialized (HOW?!)
(b) try and resolve a host and the domain server is totally unreacable e.g. through lack of fd's or ifconfig eth0 down :p (this is the only safe way, any other way may result in a developer inserting an invalid pointer into a list of Resolver* theyre watching)

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

18 years agoTypo #2
brain [Wed, 12 Jul 2006 12:44:48 +0000 (12:44 +0000)]
Typo #2

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

18 years agoTypo
brain [Wed, 12 Jul 2006 12:44:25 +0000 (12:44 +0000)]
Typo

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

18 years agoMake it work:
brain [Wed, 12 Jul 2006 12:43:55 +0000 (12:43 +0000)]
Make it work:

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

18 years agoAdded helperfuncs.h
brain [Wed, 12 Jul 2006 12:31:54 +0000 (12:31 +0000)]
Added helperfuncs.h

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

18 years agoOops, make methods public
brain [Wed, 12 Jul 2006 12:30:50 +0000 (12:30 +0000)]
Oops, make methods public

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

18 years agoTest framework in m_testcommand, add interface
brain [Wed, 12 Jul 2006 12:26:58 +0000 (12:26 +0000)]
Test framework in m_testcommand, add interface

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

18 years agoAdded class Resolver (needs testing)
brain [Wed, 12 Jul 2006 12:20:36 +0000 (12:20 +0000)]
Added class Resolver (needs testing)

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

18 years agoTopic support in channel list - NOTE THIS ISNT SAFE AGAINST XSS YET
brain [Tue, 11 Jul 2006 20:52:03 +0000 (20:52 +0000)]
Topic support in channel list - NOTE THIS ISNT SAFE AGAINST XSS YET

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

18 years agoAdded stylesheet support
brain [Tue, 11 Jul 2006 20:24:26 +0000 (20:24 +0000)]
Added stylesheet support

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

18 years agoNow has a shiney 'valid xhtml 1.1' icon, just because it can.
brain [Tue, 11 Jul 2006 20:18:59 +0000 (20:18 +0000)]
Now has a shiney 'valid xhtml 1.1' icon, just because it can.

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