summaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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 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
* win: Last part of support required for VS2010:Gravatar w00t2009-08-152-4/+4
| | | | | | | | | | | | | | | | 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
* Make ident handling consistant: use ChangeIdent for all ident manipulation. ↵Gravatar w00t2009-08-141-3/+1
| | | | | | 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
* (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
* Fixes for config readerGravatar danieldg2009-08-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11504 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix thread join not working for subclasses of Thread because of C++ ↵Gravatar danieldg2009-08-102-2/+2
| | | | | | destructor ordering git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11500 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
* 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
* 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
* 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
* Reconnect to LDAP server if connection goes away, fixes bug #818.Gravatar w00t2009-08-012-10/+34
| | | | | | | NOTE: I don't have an LDAP setup, so I'm totally in the blind on these commits. Sorry, but it seems nobody else can be arsed to do it, so I will. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11448 e03df62e-2008-0410-955e-edbf42e46eb7
* Send a failure numeric instead of QuitUser when STARTTLS is used after ↵Gravatar special2009-07-271-1/+1
| | | | | | registration, because it could be used accidentally by users. Suggested by dKingston git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11445 e03df62e-2008-0410-955e-edbf42e46eb7
* don't send out global snotices from every server on NICKUNLOCK, fixes bug ↵Gravatar dz2009-07-261-3/+2
| | | | | | #892 reported by Taros git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11444 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove bad check for channel op in m_auditorium, fixes bug #886Gravatar danieldg2009-07-071-11/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11441 e03df62e-2008-0410-955e-edbf42e46eb7
* Use server name for source of remote TIME rather than SIDGravatar danieldg2009-07-031-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11438 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix m_callerid message routing for remote users, destination got no notice ↵Gravatar danieldg2009-07-031-1/+1
| | | | | | of attempted message git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11437 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix excessive snomask sending on fitler add/removalGravatar danieldg2009-07-031-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11434 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix double-send of SSL metadata in openssl, possible segfault in gnutlsGravatar danieldg2009-07-032-4/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11433 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge m_ssl_oper_cert into m_sslinfo to reduce the number of SSL modulesGravatar danieldg2009-07-022-186/+86
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11431 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge m_ssl_data with m_ssinfo to reduce the number of SSL modulesGravatar danieldg2009-07-022-111/+76
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11430 e03df62e-2008-0410-955e-edbf42e46eb7
* Send ssl_cert metadata on signonGravatar danieldg2009-07-024-26/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11429 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove memory-wasting map in ssl_certGravatar danieldg2009-07-024-139/+47
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11428 e03df62e-2008-0410-955e-edbf42e46eb7
* Migrate SSL metadata and visible information (/whois line) to single moduleGravatar danieldg2009-07-024-172/+131
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11427 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix backport compile error: m_ssl_* uses ServerInstance->Config->ports which ↵Gravatar danieldg2009-07-022-12/+12
| | | | | | is now ServerInstance->ports git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11426 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix +g messages being borked with multiple servers, fixes bug #880Gravatar w00t2009-06-301-5/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11421 e03df62e-2008-0410-955e-edbf42e46eb7
* Roll back mysterious DNS change from 2007 which broke multiple-answerGravatar w00t2009-06-304-15/+5
| | | | | | | DNS requests (CNAME, A). It looks like this was to be related to bitmask dnsbl support, but it would never have worked anyway (resultnum was always 0..). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11419 e03df62e-2008-0410-955e-edbf42e46eb7
* m_sslinfo does not depend on external libraries, it should not be in extraGravatar danieldg2009-06-271-0/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11418 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix ENCAP forwarding with multiword final parameter, noticed by NamegdufGravatar danieldg2009-06-151-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11413 e03df62e-2008-0410-955e-edbf42e46eb7
* These commands do not need to be VF_COMMONGravatar danieldg2009-06-143-6/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11410 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't globally route SETNAME, the FNAME is sufficient. Fixes bug #875Gravatar danieldg2009-06-141-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11409 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow SSL fingerprint-based server authenticationGravatar danieldg2009-06-0710-11/+85
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11404 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't display locally bound SSL ports in SSL= (for hidden services and such)Gravatar w00t2009-06-062-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11403 e03df62e-2008-0410-955e-edbf42e46eb7
* Use pkg-config to search for gnutls rather than the now-removed libgnutls-configGravatar danieldg2009-06-031-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11400 e03df62e-2008-0410-955e-edbf42e46eb7
* Change m_override to send snomasks globallyGravatar danieldg2009-06-021-7/+7
| | | | | | | This uses "G" for both local and global; "g" is already taken by globops. Fixes bug #860. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11399 e03df62e-2008-0410-955e-edbf42e46eb7
* This time it's actually compile testedGravatar danieldg2009-06-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11394 e03df62e-2008-0410-955e-edbf42e46eb7
* OK, it's more useful if this compiles...Gravatar danieldg2009-06-011-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11393 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix unsafe iteration pattern in m_timedbans - vector::erase invalidates all ↵Gravatar danieldg2009-06-011-22/+13
| | | | | | iterators following the elements to be erased. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11392 e03df62e-2008-0410-955e-edbf42e46eb7
* Make timestamp output in /CHECK consistentGravatar danieldg2009-05-241-17/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11389 e03df62e-2008-0410-955e-edbf42e46eb7
* OnRehash changes: split to multiple hooks to clarify use and prevent ↵Gravatar danieldg2009-05-2465-148/+157
| | | | | | explosion of rehashes on a /REHASH * git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7
* m_dnsbl: Add default duration and error message on invalid durationGravatar danieldg2009-05-231-1/+5
| | | | | | | | Before, this caused DNSBL hits to take no action, as the zlines expired before being applied. The default duration of 60 seconds exists only to make the bans work; a longer duration is recommended to reduce log noise. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11387 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix UID collision on reload of m_spanningtree.soGravatar danieldg2009-05-141-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11386 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix some incorrect STL iterations (using < end() instead of != end())Gravatar special2009-05-143-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11385 e03df62e-2008-0410-955e-edbf42e46eb7