summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-28Stop a potential null pointer dereference introduced by Namegduf's patch, ↵w00t
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
2009-08-28Fix a really minor spelling error in make/configure.pmpsychon
Thanks to Kuja aka Dessa for reporting this. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11544 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-28Updated helpop files from Namegduf. Also thanks to Taros and Kazuma for ↵w00t
their help. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11543 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-28Patch from Namegduf to use OnUserMessage instead of OnUserPreMessage, and ↵w00t
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
2009-08-28Don't subtract one from MAXCHANNELS, it's a number, not a string length.w00t
Reported by Sm0ke0ut. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11541 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-27override: pass handling back to the core to send numerics if join ↵w00t
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
2009-08-26Of course, in adding yet more header madness to this for VS2010, I forgot to ↵w00t
keep the old hash_map include for windows. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11539 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-24Small example config changes; patch by jdhorespecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11538 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-21Config patch from jdhore: identify modules in example config that are not ↵danieldg
suitable for most networks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11537 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-21Add contents of LDFLAGS in addition to CXXFLAGSdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11536 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-20Allow relative and absolute paths to work (without magic) with pidfile.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11535 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-20Fix access-after-free on rehashdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11534 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-19Fix a regression from fcb51634669e6ed588e42f2072c6f910e267126f ("fix uid ↵w00t
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
2009-08-17Update .gitignore to ignore .modulemanager (and cleanup)danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11532 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-17Allow forward linking compatability by accepting higher protocol version ↵danieldg
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
2009-08-16cgiirc: Pass hosts to WEBIRC command on rehash. No fucking wonder this never ↵w00t
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
2009-08-15Partial revert of 1fb8a3f1b120db764375911be9ad8019a807a8ad by dKingston, ↵w00t
(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
2009-08-15vs2010 projects too.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11526 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-15win: Add vs2010 SLN.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11525 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-15win: Last part of support required for VS2010:w00t
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
2009-08-15Bump version to rc5.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11522 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-15win: vs2010 requires this to link in process memory retrieval stuffw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11521 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-15win: don't define error constants on VS2009, they're defined for us (finally)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11520 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-14Fix a compile error for IPv6 windows builds, discovered by Flospecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11519 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-14Make ident handling consistant: use ChangeIdent for all ident manipulation. ↵w00t
This fixes cache bugs properly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11518 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-14Print line on empty prefix errors to track down a bugw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11517 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-14Set log to null on close and check for null loghandle on ↵w00t
FileWriter::WriteLogLine. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11516 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-14Run modulemanager upgrade to check for updates to third party (and extras) ↵w00t
modules on reconfigure. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11515 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-14(Hopefully) fix a issue with m_ident's result not being used for display.psychon
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
2009-08-14Regenerate modules makefile if installing or uninstalling extras modules.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11513 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-14Remove some very verbose debug that isn't really needed anymorew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11512 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-14Apply fake lag on garbage input to discourage crapw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11511 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-13Merge patch from dKingston for missing TOPIC numeric, also replace the ↵brain
literal 331 with an RPL_* enum value, thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11510 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-12Point out that the dns server must be an ip, not a hostbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11509 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-12Fix printf format warningdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11508 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-12Comment out <dns:server> by default, and explain why.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11507 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-12Change to using read/write not send/recv on the ThreadSignalSocket pipedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11506 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-12Make rehash work more than once per run, and fix some uninitialized values ↵danieldg
in connect classes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11505 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-12Fixes for config readerdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11504 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-11Extra bracket on regex go awayw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11503 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-11Fix module prioritization when a module asks to be after spanningtree, which ↵danieldg
asks to be last git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11502 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-11Fix double-free in ~SocketThreaddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11501 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-10Fix thread join not working for subclasses of Thread because of C++ ↵danieldg
destructor ordering git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11500 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-06Report the correct sizes as set in the configbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11499 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-06First space stream seperator test.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11498 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-06Add commasepstream test case.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11497 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-05Don't catch and rethrow, as with the mutexing here removed it's no longer ↵w00t
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
2009-08-05How about we abort if there were errors, not if there weren't any? Great idea...danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11494 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-05Fix config errors being detected even if there were nonedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11493 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04Write .modulemanager after everything has finished, not in a loop.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11492 e03df62e-2008-0410-955e-edbf42e46eb7