summaryrefslogtreecommitdiff
path: root/include/users.h
Commit message (Expand)AuthorAgeFilesLines
* Fixes for config reader•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11504 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-08-121-163/+19
* 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-301-2/+1
* 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
* 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-131-2/+2
* 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-061-3/+1
* Update all wiki links to point to the new wiki. This was done automatically w...•••for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-151-1/+1
* Nuke trailing spaces•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-02-141-9/+8
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Rip flood/threshold out of config classes also.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10839 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-011-40/+18
* Remove lines_in and reset_due flood protection mechanism, recvq/sendq on thei...•••This tidies up *a lot* of code, and also saves a further sizeof(time_t) + sizeof(unsigned int) per user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10838 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-011-8/+0
* Remove m_operflood, add privs: users/flood/no-throttle & users/flood/increase...•••This also saves another sizeof(bool) per user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10837 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-011-4/+0
* Remove OverPenalty, saves sizeof(bool) per user.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10836 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-011-4/+0
* Remove one (now unneeded) 4in6 hack.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10744 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-281-1/+1
* (sort of..) Revert commit 7736e920fe6ccaf9ad1984afc70db19efd4fb8cd - remove d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10701 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-251-5/+19
* Default 'noisy' to false. Until i hear from w00t i cant see how this can be o...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10678 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-10-181-1/+2
* Working privs implementation, and example usage in NOTICE for mass messaging.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10662 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-181-1/+2
* Migrate oper commands to an std::set, add a set for privs also. Change the AP...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10661 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-181-1/+2
* Add skeleton of HasPrivPermission.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10660 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-181-0/+8
* Remove the duplicate checking/disabled setting of <connect> craq, there is a ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10654 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-171-19/+5
* Replace the IP (in addition to hostname) for CGIIRC clients; fixes glines and...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10607 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2008-09-291-1/+2
* Changed Allowed Modes to bitsets.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10541 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-09-131-2/+2
* Clear out the string used for the temporarily stored hostname during DNS reso...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10496 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2008-09-101-1/+1
* Fixed comments for cached host fields in User; 3/4 of these were completely i...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10494 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2008-09-101-3/+3
* Merge class connection in with class user (nothing else inherits it anyway, a...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10460 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-071-2/+50
* Merge the second interface for socket hooking into one, so it's all done by A...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10457 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-071-4/+0
* Move all the parameters around AGAIN. See docs shortly•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10364 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-311-1/+1
* Save 4 bytes (assuming sizeof(ptr) == 2) per user record, storing unneeded po...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10359 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-311-13/+0
* After discussions and thought, move umode +n to +s. This increases cross-ircd...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10074 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-291-5/+3
* Remove duplicated member, kept in classes.. Possible now we have a pointer. t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10064 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-211-7/+1
* Change modes in channels and users to use std::bitset instead of an array. Th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10043 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-191-6/+6
* Fix compile. Also remove write error stuff, as that was used prior to the goo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10042 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-191-24/+5
* Use a switch (cleaner, probably more efficient) for user status here, also, w...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10041 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-191-7/+1
* Remove totally unused member, saving sizeof(unsigned int) per user record•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10040 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-191-4/+0
* Fix for #564•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9961 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-121-2/+3
* Add User::GetCIDRMask(int range), will be used for CIDR throttling, etc. Also...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9959 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-121-0/+9
* Back out the incomplete linebuffering stuff that shouldn't have been committed..•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9948 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-021-26/+13
* Forward port r9946: make SVSHOLD silent to avoid useless irritation to opers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9947 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-021-13/+26
* A few minor fixes, some copy constructor stuff, misnamed channelmanager const...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9780 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-201-2/+2
* More correctly state the lookup arrays as unsigned char, not char•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9771 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-191-2/+2
* Make User:: nick/ident/dhost/fullname and some other things std::string inste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9748 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-05-181-25/+25
* Masterful rewrite of User::AddBuffer to remove a string copy (and make more e...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9661 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-05-071-1/+1
* Fixes for bug #515, update existing in-use connect tags on the fly in rehash•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9471 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-121-0/+6
* Trunk fix for bug #505 reported by nenolod•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9468 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-121-0/+4
* Patch from Brain fixing broken stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9456 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-111-4/+0
* Much faster way of checking if the user is 4in6, avoid strncmp in User::GetIP...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9455 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-111-1/+5
* Move QuitUser into UserManager class, and unstaticize it. This prepares for s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9442 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-091-8/+0
* AWAY notification for WATCH. Numerics are now sent out when a user goes away ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9227 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-03-301-0/+5
* Commit -Wformat=2 -Wmissing-format-attributes, printf-like functions in inspi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9217 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-03-301-9/+9
* Add stuff so that modules can hook users by altering a pointer in the User cl...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9187 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-241-0/+4
* This should save 128 bytes per user for non-opers. Well worth it imho for a r...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9179 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-231-2/+2