summaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Fix m_sqllog compilation (bug #939)Gravatar danieldg2010-01-141-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12253 e03df62e-2008-0410-955e-edbf42e46eb7
* Hook OnUserRegister instead of OnUserConnect so that remote user connection ↵Gravatar w00t2009-12-311-2/+2
| | | | | | | | is logged also. Fixes bug #926. git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12236 e03df62e-2008-0410-955e-edbf42e46eb7
* Check channel name in SVSJOIN to avoid propegating an invalid channel, fixes ↵Gravatar w00t2009-12-311-7/+12
| | | | | | | | bug #928. This will result in a mild desync if someone has (ab)used SVSJOIN when linking a server running this to their network, but since those channels are screwed anyway.. git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12234 e03df62e-2008-0410-955e-edbf42e46eb7
* backport r12164, fixes bug #921 reported by Sm0ke0utGravatar dz2009-11-211-3/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12166 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert "Change /HELPOP => /HELP to be sensible and match every other ircd"Gravatar danieldg2009-11-111-1/+1
| | | | | | This change really doesn't belong in the stable branch git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12091 e03df62e-2008-0410-955e-edbf42e46eb7
* Change /HELPOP => /HELP to be sensible and match every other ircdGravatar danieldg2009-11-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12090 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix CGI:IRC user class in the other places tooGravatar danieldg2009-11-011-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11987 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix CGI:IRC user class not being changed based on their real IP when it is ↵Gravatar danieldg2009-11-011-0/+2
| | | | | | changed git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11986 e03df62e-2008-0410-955e-edbf42e46eb7
* Add hacks to fix SSL bindings to 0.0.0.0 and ::Gravatar danieldg2009-10-282-0/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11979 e03df62e-2008-0410-955e-edbf42e46eb7
* Rewrite m_alias DoCommand to do variable substitution in one pass, fixing ↵Gravatar danieldg2009-10-181-44/+45
| | | | | | bugs with $i in user-provided text git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11912 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix infinite loop on alias expansion, found by AdamGravatar danieldg2009-10-181-4/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11909 e03df62e-2008-0410-955e-edbf42e46eb7
* Where there are hidden servers, report the /map server count as the hidden ↵Gravatar brain2009-09-151-3/+3
| | | | | | | | | count if the user cant see these servers. and calculate the user average over this number of servers too. -- Reported by Syloq, thanks! git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11728 e03df62e-2008-0410-955e-edbf42e46eb7
* GnuTLS: Send SSL client certificate on server linkGravatar danieldg2009-09-121-9/+43
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11691 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix auditorium trimming kick messages to the first word (reported on forum ↵Gravatar w00t2009-09-051-4/+4
| | | | | | topic 6453). git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11675 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
* 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