summaryrefslogtreecommitdiff
path: root/include
Commit message (Expand)AuthorAgeFilesLines
* Check maximum length of ban list for local users, not remoteGravatar Daniel De Graaf2010-04-161-1/+1
* Fix empty FMODE being sent if SendMode denies mode changes•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12324 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-281-0/+8
* Make parameter unsigned so that passing -1 for "none" actually works, rather ...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12266 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-161-1/+1
* Allow maxtargets to be bypassed in LoopCall for JOIN•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12254 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-141-24/+2
* Other half of r11694, that I forgot to commit the first time•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11695 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2009-09-131-1/+1
* Fix invalid iterator in select socketengine•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11688 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-091-2/+2
* Of course, in adding yet more header madness to this for VS2010, I forgot to ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11539 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-261-1/+2
* win: Last part of support required for VS2010:•••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 Gravatar w00t2009-08-155-40/+48
* Merge patch from dKingston for missing TOPIC numeric, also replace the litera...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11510 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-08-131-0/+1
* Fixes for config reader•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11504 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-08-123-397/+205
* Fix module prioritization when a module asks to be after spanningtree, which ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11502 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-08-111-0/+5
* Fix thread join not working for subclasses of Thread because of C++ destructo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11500 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-08-101-5/+7
* First space stream seperator test.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11498 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-061-0/+1
* Add commasepstream test case.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11497 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-061-0/+1
* Purely a documentation fix: PRIO_AFTER doesn't exist any more, it's PRIORITY...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11469 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-031-5/+5
* Various rehash fixes that it seems were introduced by untested code.•••- Remove unused ReportConfigError member - Don't report successful load (and spam modules that failed to load) if there is a config error - Restore server name before attempting to send error string to client(s) otherwise most of them won't recieve the notifications. Fixes bug #891. Still to come: report errors loudly on startup regardless of debug mode. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11450 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-011-4/+0
* Fix error reporting on rehash•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11425 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-07-011-1/+1
* Make rehash generate a new ServerInstance->Config object•••This makes it possible to cancel a pending rehash, and fixes possible threading issues with rehash and other events. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11424 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-07-013-79/+40
* Move list of open ports out of Config object•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11423 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-07-012-4/+4
* Roll back mysterious DNS change from 2007 which broke multiple-answer•••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 Gravatar w00t2009-06-302-7/+3
* Fix incorrect attempted inline of irc::sockets::sa_size•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11415 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-06-161-4/+1
* Fix sockaddr length argument, BSD will complain if it doesn't exactly match t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11414 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-06-161-0/+6
* Remove the ServerConfig::DirValid check that breaks symlinks•••This was included as a security check to prevent symlink attacks, but this is no longer useful; anyone who can exploit the attack now can just modify the ircd itself. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11390 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-251-6/+0
* OnRehash changes: split to multiple hooks to clarify use and prevent explosio...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-242-33/+49
* Make User::ServerInstance public so that FakeUser can access it. There is no ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11382 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-131-6/+6
* Hide server sources if HideWhoisServer is set, noticed by Brain•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11381 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-131-2/+2
* Use Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtree•••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 Gravatar danieldg2009-05-131-2/+3
* Make the previous patches actually work•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11378 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-131-1/+1
* Replace loopCall detection in OnUserKick with a check for the m_spanningtree ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11377 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-132-2/+7
* Create subclass of User for FakeClient, to allow for use as command source•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11375 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-133-3/+35
* Remove FindDescriptor wrapper for GetRef, it doesn't do anything useful and i...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11364 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-05-062-12/+1
* Canonicalize bind addresses when creating listen sockets•••This fixes /stats p output for SSL ports not working if a non-canonical address is used in the configuration (IPv6 with :: or mixed hexadecimal case). This also cleans up some now-useless sockaddr[2] allocations. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11361 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-041-18/+14
* Add IP address conversion utility functions, irc::sockets::aptosa and irc::so...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11336 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-291-0/+15
* Overloading SetMode seems to cause the compiler to interpret "" as a bool and...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11335 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-291-1/+1
* rollback r11326, we're going to make vc9 the officially supported windows bui...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11327 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-04-232-2/+2
* Heres the beef so far•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11326 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-04-232-2/+2
* Actually use irc::modestacker correctly•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11322 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-201-5/+2
* Use loopCall to protect OnUserKick rather than the triggerevents hack•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11321 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-201-1/+1
* Add global-routing snomask functions•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11314 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-181-2/+16
* Fix CullList to not use O(n^2) version of vector clear•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11312 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-171-2/+1
* Fix memory leak on rehash: opertype used char* instead of std::string•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11309 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-171-1/+1
* Fix SetModeParam to use std::string and handle edge cases.•••Previously, changing the vaule of a mode could require 3 calls to SetMode and SetModeParam. This also fixes memory leaks caused by the strdup() not always being paired with a free(). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11307 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-171-5/+5
* Remove the unused RESOLVER_NOTREADY define and fix the spelling of RESLOVER_F...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11286 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-04-051-4/+3
* Reapply r11241: flush and close log filehandles properly when the log is closed.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11285 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar dz2009-04-041-1/+0
* Correct bind address of ident requests on multihomed IPv6-capable servers.•••Fixes bug #815, reported by Szymek. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11274 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-011-0/+6
* start of fix for bug #805•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11260 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-03-252-13/+9
* Fix headers for GCC 4.4: sprintf requires #include <cstdio>•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11259 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-251-0/+1
* ConfigReaderThread updates: add done flag, remove main-thread-only mutex•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11256 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-232-5/+5
* ThreadEngine: Allow interthread signaling without needing as many hacks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11251 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-233-6/+200
* ThreadEngine: remove MutexFactory, mutexes should be constructed using their ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11250 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-234-157/+113