summaryrefslogtreecommitdiff
path: root/src/xline.cpp
AgeCommit message (Collapse)Author
2006-04-06Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE ↵w00t
THEM - we now have no stupid spaces. This was mostly a mass find/replace, so some indentation may be stuffed. Minor issue, though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-27trivial: Slight reformat of expiry of line messagew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3765 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-10Tidyup of commented out reminder codebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3636 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-10Mass tidyup of ServerConfig::Read and stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3634 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-05Colon before the reasons in STATS, so that it doesnt munge up the reason in ↵brain
certain clients git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3461 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-28BanHidingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3384 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22Perm elines (<exception> tag) not being applied - fixedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3293 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-08Checks to not propogate invalid or already-existing Xlinesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3143 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-27Improved IP handling. Now uses in_addr to store client ip, not char[16]!brain
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
2006-01-15Updated copyrights in headers etc using perl inplace editbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-12GCC 4.0.2 warns because we assign in an if. we want to assign in an if, so ↵brain
we satisfy it by putting brackets around it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2784 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-12Typo (whoops)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2783 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-12xline tweaksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2782 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-12Replaced sprintf's with some char* voodoobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2781 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15Full removal of inspircd_util.hbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2485 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15Made apply_lines apply perm lines againbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2467 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15Added CullList classbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2458 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15New CullList trickbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2457 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14More config tidyupsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2413 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14Added config_f to serverconfig, UNTESTEDbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2402 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14Tidied up modules.h added some typedefs to typedefs.hbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2401 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14moved declarations of typedefs for user_hash and chan_hash etc to typedefs.hbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2400 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14Started moving of data into ServerConfig classbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2393 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14Added parameter to apply_lines to indicate what we want to applybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2391 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-13#define IS_LOCAL(x) (x->fd > -1)brain
#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
2005-12-13optimized a ton of strcmps down to an integer comparison!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2385 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-08Typo in a comment, talk about grammar-nazibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2271 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-08Optimized (much faster, more efficient, less cpu usage)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2269 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-30Split the expiry loop into sections, to hopefully decrease time taken to ↵w00t
expire with large amounts of *lines. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2023 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-25Fixes for removal of serverrecbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1946 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-25Removed references to deprecated files servers.* and connection.*brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1941 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-28Fixed fd_Setsize in cygwinbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1541 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-16Removed __single_client_alloc again because gcc devs were smoking crack and ↵brain
removed it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1406 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15Changed to use __single_client_alloc, faster on most systems in a single threadbrain
Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15Changed to use __single_client_alloc, supposedly faster in single-thread ↵brain
situations git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1402 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15Moved StrHashComp and InAddr_HashComp into the irc:: namespacebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1398 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15sorted hashcomp etcbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1387 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15Moved a ton of functions into helperfuncs.h to speed up recompilesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1383 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-14Added 'uniqueness sums': ↵brain
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
2005-05-12Changed the type of struct whowas records are stored in (no need to waste a ↵brain
big heavy userrec) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1369 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-08Changed the final bunch of udp_* vars to server_*/tcp_*brain
Fixed ircservices sending PING git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1326 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-29Fixed some flood checkingbrain
added noticeall git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1262 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-29A few anti-flood featuresbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1260 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-29Made xline notices neater when notifying of unknown connectionsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1258 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-26Major code tidyup (-W) - expect a few belchesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1190 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-18Fixed strhashcompbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1115 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-13Added Server::AddGLinebrain
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
2005-04-05Major optimizations!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@982 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-04Added E:Lines, a form of ban exception that can prevent opers, netadmins etc ↵brain
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
2005-03-25Added implementation of strlcpy and strlcat for systems that dont have itbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@905 e03df62e-2008-0410-955e-edbf42e46eb7