summaryrefslogtreecommitdiff
path: root/src/xline.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Tidyup of commented out reminder codeGravatar brain2006-03-101-18/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3636 e03df62e-2008-0410-955e-edbf42e46eb7
* Mass tidyup of ServerConfig::Read and stuffGravatar brain2006-03-101-29/+54
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3634 e03df62e-2008-0410-955e-edbf42e46eb7
* Colon before the reasons in STATS, so that it doesnt munge up the reason in ↵Gravatar brain2006-03-051-10/+10
| | | | | | certain clients git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3461 e03df62e-2008-0410-955e-edbf42e46eb7
* BanHidingGravatar brain2006-02-281-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3384 e03df62e-2008-0410-955e-edbf42e46eb7
* Perm elines (<exception> tag) not being applied - fixedGravatar brain2006-02-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3293 e03df62e-2008-0410-955e-edbf42e46eb7
* Checks to not propogate invalid or already-existing XlinesGravatar brain2006-02-081-10/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3143 e03df62e-2008-0410-955e-edbf42e46eb7
* Improved IP handling. Now uses in_addr to store client ip, not char[16]!Gravatar brain2006-01-271-1/+1
| | | | | | | | Added global and local session limits All of this needs TESTING. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2934 e03df62e-2008-0410-955e-edbf42e46eb7
* Updated copyrights in headers etc using perl inplace editGravatar brain2006-01-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
* GCC 4.0.2 warns because we assign in an if. we want to assign in an if, so ↵Gravatar brain2006-01-121-4/+4
| | | | | | we satisfy it by putting brackets around it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2784 e03df62e-2008-0410-955e-edbf42e46eb7
* Typo (whoops)Gravatar brain2006-01-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2783 e03df62e-2008-0410-955e-edbf42e46eb7
* xline tweaksGravatar brain2006-01-121-15/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2782 e03df62e-2008-0410-955e-edbf42e46eb7
* Replaced sprintf's with some char* voodooGravatar brain2006-01-121-38/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2781 e03df62e-2008-0410-955e-edbf42e46eb7
* Full removal of inspircd_util.hGravatar brain2005-12-151-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2485 e03df62e-2008-0410-955e-edbf42e46eb7
* Made apply_lines apply perm lines againGravatar brain2005-12-151-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2467 e03df62e-2008-0410-955e-edbf42e46eb7
* Added CullList classGravatar brain2005-12-151-61/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2458 e03df62e-2008-0410-955e-edbf42e46eb7
* New CullList trickGravatar brain2005-12-151-51/+99
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2457 e03df62e-2008-0410-955e-edbf42e46eb7
* More config tidyupsGravatar brain2005-12-141-12/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2413 e03df62e-2008-0410-955e-edbf42e46eb7
* Added config_f to serverconfig, UNTESTEDGravatar brain2005-12-141-13/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2402 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidied up modules.h added some typedefs to typedefs.hGravatar brain2005-12-141-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2401 e03df62e-2008-0410-955e-edbf42e46eb7
* moved declarations of typedefs for user_hash and chan_hash etc to typedefs.hGravatar brain2005-12-141-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2400 e03df62e-2008-0410-955e-edbf42e46eb7
* Started moving of data into ServerConfig classGravatar brain2005-12-141-46/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2393 e03df62e-2008-0410-955e-edbf42e46eb7
* Added parameter to apply_lines to indicate what we want to applyGravatar brain2005-12-141-10/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2391 e03df62e-2008-0410-955e-edbf42e46eb7
* #define IS_LOCAL(x) (x->fd > -1)Gravatar brain2005-12-131-1/+1
| | | | | | | | #define IS_REMOTE(x) (x->fd < 0) #define IS_MODULE_CREATED(x) (x->fd == FD_MAGIC_NUMBER) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2386 e03df62e-2008-0410-955e-edbf42e46eb7
* optimized a ton of strcmps down to an integer comparison!Gravatar brain2005-12-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2385 e03df62e-2008-0410-955e-edbf42e46eb7
* Typo in a comment, talk about grammar-naziGravatar brain2005-12-081-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2271 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimized (much faster, more efficient, less cpu usage)Gravatar brain2005-12-081-124/+249
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2269 e03df62e-2008-0410-955e-edbf42e46eb7
* Split the expiry loop into sections, to hopefully decrease time taken to ↵Gravatar w00t2005-11-301-0/+35
| | | | | | expire with large amounts of *lines. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2023 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for removal of serverrecGravatar brain2005-11-251-35/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1946 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed references to deprecated files servers.* and connection.*Gravatar brain2005-11-251-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1941 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed fd_Setsize in cygwinGravatar brain2005-05-281-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1541 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed __single_client_alloc again because gcc devs were smoking crack and ↵Gravatar brain2005-05-161-8/+8
| | | | | | removed it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1406 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed to use __single_client_alloc, faster on most systems in a single threadGravatar brain2005-05-151-2/+2
| | | | | | | Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed to use __single_client_alloc, supposedly faster in single-thread ↵Gravatar brain2005-05-151-9/+8
| | | | | | situations git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1402 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved StrHashComp and InAddr_HashComp into the irc:: namespaceGravatar brain2005-05-151-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1398 e03df62e-2008-0410-955e-edbf42e46eb7
* sorted hashcomp etcGravatar brain2005-05-151-7/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1387 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved a ton of functions into helperfuncs.h to speed up recompilesGravatar brain2005-05-151-72/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1383 e03df62e-2008-0410-955e-edbf42e46eb7
* Added 'uniqueness sums': ↵Gravatar brain2005-05-141-3/+3
| | | | | | http://www.inspircd.org/wiki/InspIRCd_Server_Protocol#Uniqueness_Sums git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1378 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed the type of struct whowas records are stored in (no need to waste a ↵Gravatar brain2005-05-121-11/+12
| | | | | | big heavy userrec) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1369 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed the final bunch of udp_* vars to server_*/tcp_*Gravatar brain2005-05-081-1/+1
| | | | | | | Fixed ircservices sending PING git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1326 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed some flood checkingGravatar brain2005-04-291-0/+6
| | | | | | | added noticeall git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1262 e03df62e-2008-0410-955e-edbf42e46eb7
* A few anti-flood featuresGravatar brain2005-04-291-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1260 e03df62e-2008-0410-955e-edbf42e46eb7
* Made xline notices neater when notifying of unknown connectionsGravatar brain2005-04-291-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1258 e03df62e-2008-0410-955e-edbf42e46eb7
* Major code tidyup (-W) - expect a few belchesGravatar brain2005-04-261-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1190 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed strhashcompGravatar brain2005-04-181-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1115 e03df62e-2008-0410-955e-edbf42e46eb7
* Added Server::AddGLineGravatar brain2005-04-131-12/+12
| | | | | | | | | | | | | | | | Added Server::AddKLine Added Server::AddZLine Added Server::AddQLine Added Server::AddELine Added Server::DelGLine Added Server::DelKLine Added Server::DelZLine Added Server::DelQLine Added Server::DelELine Added Server::Duration git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1071 e03df62e-2008-0410-955e-edbf42e46eb7
* Major optimizations!Gravatar brain2005-04-051-6/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@982 e03df62e-2008-0410-955e-edbf42e46eb7
* Added E:Lines, a form of ban exception that can prevent opers, netadmins etc ↵Gravatar brain2005-04-041-2/+77
| | | | | | | | | from being glined. Can be added and removed either in the config or by an oper with the correct permissions to use the /ELINE command git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@975 e03df62e-2008-0410-955e-edbf42e46eb7
* Added implementation of strlcpy and strlcat for systems that dont have itGravatar brain2005-03-251-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@905 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for GCC3.4 and namespaces (must rerun configure!)Gravatar brain2005-03-251-1/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@902 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed occurances of vector to std::vectorGravatar brain2005-03-251-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@900 e03df62e-2008-0410-955e-edbf42e46eb7