summaryrefslogtreecommitdiffstats
path: root/include/users.h
Commit message (Expand)AuthorAgeFilesLines
* Change all references to voodoo numbers (7, 3 etc) to the new bitwise constan...•••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 Gravatar brain2006-07-281-0/+8
* mass tidyup, change A LOT of stuff to const char** which was char** (such as ...•••which makes the new lineparser work neater with no casts. This also removes tons of casts from other locations (all in all, ive added 2 casts and removed almost a hundred) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4403 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-1/+1
* Rollback dns change•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4384 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-141-2/+0
* Fix dns socket leak found in stable•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4383 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-141-0/+2
* Inherit tons of stuff from classbase that should always have been•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4298 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-101-1/+1
* - userrec::ProcessNoticeMasks - provide a way to set or unset masks.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4276 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-07-101-0/+2
* -Clone mode methods into notice mask methods for userrec.•••- Modify userrec to add char [] of notice masks, works in the same function as modes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4273 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-07-101-0/+14
* Did some renaming so that the methods for modes in chanrec and userrec are id...•••bool IsModeSet(const unsigned char c); void SetMode(const unsigned char c, bool value); Fixed m_botmode for new api git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4194 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-1/+3
* Add userrec::HasMode, fix some typos.•••TODO: Make more use of userrec::HasUmode('c') rather than user->modes['c'-65] *oogly* Next - get umode +o working! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4178 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-0/+2
* Change channelmodes -> usermodes (typo)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4177 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-1/+1
* Convert new +isw modes to new mode format•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4176 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-0/+5
* Refactored user modes to work like the channel modes - core and module data n...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4175 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-14/+18
* Replace rather craq'y loop with a couple of std::string calls•••Change GetServerDescription to take const char* rather than char* Change userrec::server from char* to const char*, this is more 'correct' as it's not safe to modify it (pointer as returned by std::string::c_str()) Change WhoWasGroup::server, see above about userrec::server git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4094 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-011-2/+2
* Increase length of dhost•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3955 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-05-111-1/+1
* Made FindMatching(Global|Local) available via users.h•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3872 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-121-0/+3
* Routing more socket includes through socket.h•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3868 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-101-7/+9
* A few more typedefs defined and put into use.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3866 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-101-1/+5
* Commented a lot of stuff that hasnt been commented since 1.0.2•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3695 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-121-2/+16
* Tidyup and move ConvToStr to a publically accessible place•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3640 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-101-8/+10
* Moved more stuff into right places•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3637 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-101-4/+7
* Changing by-value parameters to const references•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3605 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-03-091-4/+4
* Speedups•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3602 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-1/+1
* Added userrec::modebits - fast way of checking if user has +swi rather than a...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3588 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-0/+7
* Probably wont compile yet - purge_empty_channels refactor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3579 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-1/+1
* Whowas refactor - probably wont compile yet•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3523 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-9/+16
* No need to be inline in the include•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3502 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-1/+1
* *UNTESTED* speeding up HasPermission by factor of hundreds, avoid using EnumC...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3430 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-021-0/+1
* Made host fields more correct 64 in length with 63 copies•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3425 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-021-3/+3
* Changed length of password field to 64, giving us a maximum password length o...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2960 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-281-1/+1
* Improved IP handling. Now uses in_addr to store client ip, not char[16]!•••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 Gravatar brain2006-01-271-2/+13
* Added MakeWildHost to userrec (*!*@dhost)•••Added ban stuff to messageflood git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2836 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-221-0/+2
* Updated copyrights in headers etc using perl inplace edit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-151-1/+1
* Replaced sprintf's with some char* voodoo•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2781 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-121-0/+2
* New system for client exits using CullList seems stable, needs testing•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2681 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-281-2/+3
* Changed two fields in ConnectClass to strings, moved constructor stuff to ini...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2632 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-221-11/+3
* Moved rehashnick and force_nickchange to users.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2478 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-151-0/+2
* Tidied up call_handler to use strings•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2476 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-151-0/+2
* Major tidyups are fun for all :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2472 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-151-1/+1
* Fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2469 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-151-0/+2
* Moved a ton of user related functions from inspircd.cpp to users.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2468 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-151-4/+13
* Made MAXCHANS growable for opers/ulines (growing of list not implemented yet)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2367 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-131-1/+1
* Made threading optional•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2108 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-021-0/+4
* Multithreaded DNS -- not tested!!!!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2088 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-011-2/+5
* Added references to connection.h•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1945 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-11-251-0/+1
* Removed references to deprecated files servers.* and connection.*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1941 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-11-251-1/+0
* Compensate for ~ in ident length•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1551 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-291-1/+2
* Highly optimized userrec saving 1.5k per user•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1550 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-291-3/+3
* Fixed lengths•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1547 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-291-2/+5
* A lot more of the core consts are now configurable at compile time•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1546 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-291-8/+3
* Tidied up some socket stuff into userrec•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1476 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-231-0/+8