summaryrefslogtreecommitdiff
path: root/src/userprocess.cpp
AgeCommit message (Collapse)Author
2006-08-09ServerConfig extern moved into class InspIRCdbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08WHEEEEE!!!!!brain
All of: Write(), WriteTo(), WriteFrom(), WriteServ() are now methods of userrec. Write_NoFormat(), WriteTo_NoFormat(), WriteFrom_NoFormat(), WriteServ_NoFormat() are now std::string-taking overloaded methods of the functions above All modules updated to use new syntax, my fingers hurt :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4798 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08userrec::UpdateNickHash(), userrec::ForceNickChange(), userrec::FullConnect()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4793 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08kill_link() and Server::QuitUser() -> userrec::QuitUser() (static member) - ↵brain
this cant be a normal member as it causes the userrec to be deleted, and "delete this" is bad, mmm'k git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4789 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Change to using userrec::ip as a sockaddr to store port, ip and address ↵brain
family, rather than userrec::ip4 and userrec::port. This allows us to handle remote ipv6 users on an ipv4 server, and vice versa. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4694 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01Comments, add more detail, remove dnsqueue.h include from tons of placesbrain
Remove THREADED_DNS defines from all over the place git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4629 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01Remove the same craqbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4619 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01Remove ZapThisDnsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4617 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if ↵brain
this works yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-30I think ive found the answer to the hanging connections problem. The ↵brain
majority of stuff in userprocess is skipped over when fd==0, it was fd > 0 rather than fd > -1 in a check. This would prevent one user (near the first) with fd 0 from connecting properly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4605 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28Change all references to voodoo numbers (7, 3 etc) to the new bitwise ↵brain
constants for user->registered Change a lot of user->fd > -1 to use the IS_LOCAL() macro git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4569 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Make OnCheckReady safe against the user being killed, SO LONG AS THE MODULE ↵brain
WHICH D/C'S THE USER RETURNS FALSE git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4501 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-20Extra sanity checksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4457 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-19Stability fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4453 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-16Fix socket leak properly this timebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4405 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-16MAJOR tidy of line parser, some parts rewritten and major chunks removedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4402 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-15Removed GCC2 checks as we havent supported gcc2 for yearsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4394 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-24delete operator tracking in debug mode (using a macro -- live with it.)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits ↵om
going into inspircd.*, doesn't look like I've broken anything... :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3847 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04This doesn't belong in userprocess.cpp. :Pw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3811 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-15Comment one of w00tie's comments, fix typo in log message, and make it look ↵om
like I ctually was active today... :> git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3715 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-14Sanity check, writing to array[-1] is not clever and not profitable.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3711 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11MORE BUGS GRRbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3676 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Checks and stuff :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3671 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Re-enterant safetybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3666 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-10Commented all the new config stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3642 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Speedupsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3602 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Tidyup to pass some stuff by reference (much faster, no copy involved)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3601 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Made this readable, removed spacing, etc.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3540 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08Remove some tabbing, remove a typo, use Exit() rather than exit()w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3537 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02Changed output on startupbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3435 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-01Removed old >512 checkbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3399 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26And fixes for typosbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3328 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26Added ability to provide -logfile parameter on commandlinebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3327 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19Apparently to catch descendent classes we need to catch a reference to the ↵brain
parent, not the parent itself git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3242 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19Added exception handling for module loadingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3240 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-08Increased how often socket timeout checks occur which will mean flushing ↵brain
write buffers more often git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3142 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-02Removed bool return of DoBackgroundUserStuff()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3023 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-22Tweaks for openssl compatibilitybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2825 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22Stopped lines longer than 512b from being killed, instead, warning sent and ↵frostycoolslug
dropped. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2824 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-15Made inspircd close and reopen its log on rehashbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2794 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-11Changed fd_ref_table from 65536 to more correct MAX_DESCRIPTORSbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2769 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-03Fixed to not crash on /PARK (still more to test)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2729 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-28Tidyups to mainloop, why were we using isnick() to check if a user was ↵brain
registered? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2682 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-28New system for client exits using CullList seems stable, needs testingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2681 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-28Changes to the way clients are exited during mainloop - MAY BE UNSTABLE USE ↵brain
WITH CAUTION git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2680 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-19SSL is a fucking mess.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2565 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-18Added IOHookModule stuff to allow for different modules to hook different portsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2564 e03df62e-2008-0410-955e-edbf42e46eb7