summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Bump version on the right branch this time. v2.0forkGravatar w00t2009-09-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11552 e03df62e-2008-0410-955e-edbf42e46eb7
* Bump out of RC v1.2.0Gravatar w00t2009-08-291-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11546 e03df62e-2008-0410-955e-edbf42e46eb7
* Stop a potential null pointer dereference introduced by Namegduf's patch, ↵Gravatar w00t2009-08-281-10/+1
| | | | | | found by Dessa/Kuja for finding this, and to danieldg, Special, Namegduf and psychon for their input. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11545 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch from Namegduf to use OnUserMessage instead of OnUserPreMessage, and ↵Gravatar w00t2009-08-281-10/+17
| | | | | | correctly prioritize events to fix channel aliases arriving after the effects of the alias. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11542 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't subtract one from MAXCHANNELS, it's a number, not a string length.Gravatar w00t2009-08-281-1/+1
| | | | | | Reported by Sm0ke0ut. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11541 e03df62e-2008-0410-955e-edbf42e46eb7
* override: pass handling back to the core to send numerics if join ↵Gravatar w00t2009-08-271-4/+4
| | | | | | restrictions apply. Thanks to webczat for (eventually) being able to communicate what the problem was. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11540 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix access-after-free on rehashGravatar danieldg2009-08-201-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11534 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a regression from fcb51634669e6ed588e42f2072c6f910e267126f ("fix uid ↵Gravatar w00t2009-08-191-1/+3
| | | | | | | | collision on spanningtree reload") caused by access-after-free. Thanks to transnet for the report. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11533 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow forward linking compatability by accepting higher protocol version ↵Gravatar danieldg2009-08-172-10/+13
| | | | | | numbers (other server should fail the link if it becomes link-incompatable) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11531 e03df62e-2008-0410-955e-edbf42e46eb7
* cgiirc: Pass hosts to WEBIRC command on rehash. No fucking wonder this never ↵Gravatar w00t2009-08-161-3/+9
| | | | | | worked except on module load. _ARGH_. Thanks to Jeremy for his help in tracking this down. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11528 e03df62e-2008-0410-955e-edbf42e46eb7
* Partial revert of 1fb8a3f1b120db764375911be9ad8019a807a8ad by dKingston, ↵Gravatar w00t2009-08-152-5/+1
| | | | | | | | (adding RPL_NOTOPICSET). This is *not* defined as a return for JOIN message, and it's a bit annoying too. Keep the define and use it in TOPIC instead of '331' though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11527 e03df62e-2008-0410-955e-edbf42e46eb7
* win: Last part of support required for VS2010:Gravatar w00t2009-08-153-11/+11
| | | | | | | | | | | | | | | | NEEDS COMPILE TESTING ON: gcc3 (if possible), gcc4, vs2008. - Check for vs2010 in hash_map.h - use unordered_map if it exists - change all map creations to: #if defined(WINDOWS) && !defined(HASHMAP_DEPRECATED) // old windows crap #else #if HASHMAP_DEPRECATED // tr1/gcc crap #endif #endif git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11524 e03df62e-2008-0410-955e-edbf42e46eb7
* Bump version to rc5. v1.2.0rc5Gravatar w00t2009-08-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11522 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a compile error for IPv6 windows builds, discovered by FloGravatar special2009-08-141-1/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11519 e03df62e-2008-0410-955e-edbf42e46eb7
* Make ident handling consistant: use ChangeIdent for all ident manipulation. ↵Gravatar w00t2009-08-142-4/+2
| | | | | | This fixes cache bugs properly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11518 e03df62e-2008-0410-955e-edbf42e46eb7
* Print line on empty prefix errors to track down a bugGravatar w00t2009-08-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11517 e03df62e-2008-0410-955e-edbf42e46eb7
* Set log to null on close and check for null loghandle on ↵Gravatar w00t2009-08-141-6/+9
| | | | | | FileWriter::WriteLogLine. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11516 e03df62e-2008-0410-955e-edbf42e46eb7
* (Hopefully) fix a issue with m_ident's result not being used for display.Gravatar psychon2009-08-141-1/+3
| | | | | | | | | | | The user class has a couple of caches for the user's hostmask. If one of those caches is initialized before m_ident set the user's new ident it would stick around until the cache was invalidated the next time. This patch fixes this by using the proper API for setting a user's ident which also invalidates any caches which might still have the old ident. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11514 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove some very verbose debug that isn't really needed anymoreGravatar w00t2009-08-141-3/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11512 e03df62e-2008-0410-955e-edbf42e46eb7
* Apply fake lag on garbage input to discourage crapGravatar w00t2009-08-141-8/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11511 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge patch from dKingston for missing TOPIC numeric, also replace the ↵Gravatar brain2009-08-131-0/+4
| | | | | | literal 331 with an RPL_* enum value, thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11510 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix printf format warningGravatar danieldg2009-08-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11508 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to using read/write not send/recv on the ThreadSignalSocket pipeGravatar danieldg2009-08-121-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11506 e03df62e-2008-0410-955e-edbf42e46eb7
* Make rehash work more than once per run, and fix some uninitialized values ↵Gravatar danieldg2009-08-122-4/+2
| | | | | | in connect classes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11505 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for config readerGravatar danieldg2009-08-128-765/+614
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11504 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix module prioritization when a module asks to be after spanningtree, which ↵Gravatar danieldg2009-08-111-5/+22
| | | | | | asks to be last git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11502 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix double-free in ~SocketThreadGravatar danieldg2009-08-111-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11501 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix thread join not working for subclasses of Thread because of C++ ↵Gravatar danieldg2009-08-104-7/+15
| | | | | | destructor ordering git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11500 e03df62e-2008-0410-955e-edbf42e46eb7
* Report the correct sizes as set in the configGravatar brain2009-08-061-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11499 e03df62e-2008-0410-955e-edbf42e46eb7
* First space stream seperator test.Gravatar w00t2009-08-061-1/+42
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11498 e03df62e-2008-0410-955e-edbf42e46eb7
* Add commasepstream test case.Gravatar w00t2009-08-061-7/+51
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11497 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't catch and rethrow, as with the mutexing here removed it's no longer ↵Gravatar w00t2009-08-051-75/+66
| | | | | | | | required. Thanks Special for noticing. This rethrow was also not best-practice, 'throw;' is the recommended C++ way to rethrow an exception. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11496 e03df62e-2008-0410-955e-edbf42e46eb7
* How about we abort if there were errors, not if there weren't any? Great idea...Gravatar danieldg2009-08-051-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11494 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix config errors being detected even if there were noneGravatar danieldg2009-08-051-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11493 e03df62e-2008-0410-955e-edbf42e46eb7
* Exit if there were errors reading configuration on startup.Gravatar w00t2009-08-041-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11486 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove m_testcommand tooGravatar w00t2009-08-041-61/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11482 e03df62e-2008-0410-955e-edbf42e46eb7
* Comment on what looks like incorrect behaviour in User::Oper().Gravatar w00t2009-08-031-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11477 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert "Don't do all the oper gubbins if the opertype doesn't exist. I've ↵Gravatar w00t2009-08-031-49/+46
| | | | | | | | absolutely no idea why we did this before but it's definitely not good." This reverts commit d8ee5433eab5c67e9094d9114e3696728f1cab2a. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11476 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert "Find the right variable so it actually works, too."Gravatar w00t2009-08-031-1/+1
| | | | | | This reverts commit a245aa22076e17e72c84e5a0f5699209cdf62727. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11475 e03df62e-2008-0410-955e-edbf42e46eb7
* Find the right variable so it actually works, too.Gravatar w00t2009-08-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11474 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't do all the oper gubbins if the opertype doesn't exist. I've absolutely ↵Gravatar w00t2009-08-031-46/+49
| | | | | | no idea why we did this before but it's definitely not good. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11473 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove m_foobar. This has no practical purpose, except as a module basis,Gravatar w00t2009-08-031-97/+0
| | | | | | and nowdays we have plenty of others that can serve for that. Rest in peace. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11472 e03df62e-2008-0410-955e-edbf42e46eb7
* Make sure usage lines up neatly.Gravatar peavey2009-08-021-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11465 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a few typos in here so it compiles again.Gravatar peavey2009-08-022-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11464 e03df62e-2008-0410-955e-edbf42e46eb7
* Change all non-fatal GNUTLS initialisation notices to debug level, to avoid ↵Gravatar w00t2009-08-021-4/+4
| | | | | | unnecessary questions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11462 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a missed reference v1.2.0rc4Gravatar w00t2009-08-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11457 e03df62e-2008-0410-955e-edbf42e46eb7
* Bump version number to rc4Gravatar w00t2009-08-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11454 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch to not increment nickchange counter for nick changes that would be ↵Gravatar w00t2009-08-021-4/+35
| | | | | | blocked elsewhere, fixes bug #874. Patch by dz, but he was too slow to commit it :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11453 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't apply bans to E:Lined connections. Should fix bug #896.Gravatar w00t2009-08-011-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11452 e03df62e-2008-0410-955e-edbf42e46eb7
* Show config warnings/errors regardless of loglevel on startup.Gravatar w00t2009-08-011-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11451 e03df62e-2008-0410-955e-edbf42e46eb7