summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
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-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-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-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-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-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-12Fixes for config readerdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11504 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-04Remove m_testcommand toow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11482 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-03Remove m_foobar. This has no practical purpose, except as a module basis,w00t
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
2009-08-02Fix a few typos in here so it compiles again.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11464 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02Change all non-fatal GNUTLS initialisation notices to debug level, to avoid ↵w00t
unnecessary questions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11462 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02Fix a missed referencew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11457 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02Patch to not increment nickchange counter for nick changes that would be ↵w00t
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
2009-08-01Reconnect to LDAP server if connection goes away, fixes bug #818.w00t
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
2009-07-27Send a failure numeric instead of QuitUser when STARTTLS is used after ↵special
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
2009-07-26don't send out global snotices from every server on NICKUNLOCK, fixes bug ↵dz
#892 reported by Taros git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11444 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-07Remove bad check for channel op in m_auditorium, fixes bug #886danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11441 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-03Use server name for source of remote TIME rather than SIDdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11438 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-03Fix m_callerid message routing for remote users, destination got no notice ↵danieldg
of attempted message git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11437 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-03Fix excessive snomask sending on fitler add/removaldanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11434 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-03Fix double-send of SSL metadata in openssl, possible segfault in gnutlsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11433 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02Merge m_ssl_oper_cert into m_sslinfo to reduce the number of SSL modulesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11431 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02Merge m_ssl_data with m_ssinfo to reduce the number of SSL modulesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11430 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02Send ssl_cert metadata on signondanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11429 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02Remove memory-wasting map in ssl_certdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11428 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02Migrate SSL metadata and visible information (/whois line) to single moduledanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11427 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02Fix backport compile error: m_ssl_* uses ServerInstance->Config->ports which ↵danieldg
is now ServerInstance->ports git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11426 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-30Fix +g messages being borked with multiple servers, fixes bug #880w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11421 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-30Roll back mysterious DNS change from 2007 which broke multiple-answerw00t
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
2009-06-27m_sslinfo does not depend on external libraries, it should not be in extradanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11418 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-15Fix ENCAP forwarding with multiword final parameter, noticed by Namegdufdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11413 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-14These commands do not need to be VF_COMMONdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11410 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-14Don't globally route SETNAME, the FNAME is sufficient. Fixes bug #875danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11409 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-07Allow SSL fingerprint-based server authenticationdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11404 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-06Don't display locally bound SSL ports in SSL= (for hidden services and such)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11403 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-03Use pkg-config to search for gnutls rather than the now-removed libgnutls-configdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11400 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-02Change m_override to send snomasks globallydanieldg
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
2009-06-01This time it's actually compile testeddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11394 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01OK, it's more useful if this compiles...danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11393 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01Fix unsafe iteration pattern in m_timedbans - vector::erase invalidates all ↵danieldg
iterators following the elements to be erased. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11392 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-24Make timestamp output in /CHECK consistentdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11389 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-24OnRehash changes: split to multiple hooks to clarify use and prevent ↵danieldg
explosion of rehashes on a /REHASH * git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-23m_dnsbl: Add default duration and error message on invalid durationdanieldg
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
2009-05-14Fix UID collision on reload of m_spanningtree.sodanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11386 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-14Fix some incorrect STL iterations (using < end() instead of != end())special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11385 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Show correct server source to users on FTOPIC and FMODEdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11380 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Use Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtreedanieldg
This makes it possible to determine which server initiated a mode change, instead of having only a flag saying that some server did. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11379 e03df62e-2008-0410-955e-edbf42e46eb7