summaryrefslogtreecommitdiff
path: root/include/users.h
Commit message (Expand)AuthorAgeFilesLines
* 1) Fix for nickname overruled with new cullList stuff -- we have to change th...•••2) Add a mute flag for users, so we can drop commands from users who have been placed on the cullList. This is independent of the actual cullList and can be used as a general mute flag e.g. by shun modules. 3) Fix /kill to also not quit the user immediately, remove need for CMD_USER_DELETED return anywhere in the code. *** THIS NEEDS TESTING BY QA *** git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6596 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-191-0/+8
* Change /msg $* to have the correct source the same way /notice $* does•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6588 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-171-2/+6
* Not safe for use yet•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6502 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-051-1/+1
* Move quitting of clients to a central Cull List, and do quitting outside user...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6497 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-02-051-25/+19
* Comment on a lot of recently added stuff that wasnt properly documented (unti...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6284 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-091-3/+55
* Document dns caching, add a "bool cached" to OnLookupComplete method in Resol...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6254 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-071-1/+1
* DNS Stuff - this wont work right yet, it will soon (tm)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6250 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-071-1/+1
* Move all /WHOWAS related out of core and into cmd_whowas.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6249 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-071-63/+0
* Add TTL stuff to dns system (pass it to inherited objects)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6247 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-071-1/+1
* Fix lusers breakage introduced by latest set of optimizations•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6219 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-031-0/+6
* Cached GetFullRealHost etc.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6179 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-301-0/+10
* Fix a bug in whowas that could desync list.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6091 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-241-1/+1
* change userrec int timeout to time_t since it's a timestamp made of TIME + us...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6066 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-221-4/+4
* Refactor connect allow/deny lines•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6061 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-221-14/+79
* And now, just to force you to recompile the *whole* ircd.. updated headers on...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5998 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-6/+3
* Cleaning up irrelevent stuff in channels.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5993 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-151-25/+4
* Refactor userrec::chans.•••Old way: A vector of ucrec, MAXCHANS in size by default populated by NULLS, so you have to scan the vector to find an empty slot when joining a user, parting a user etc New way: std::map<chanrec*, char> (the char holds their basic core permissions on the channel [voice, halfop, op]) This increases speed a ton, and removes some wtf-age. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5986 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-141-1/+2
* Improve how we handle ELINEs on connect, turn O(2n) into O(n) (thats the best...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5968 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-121-0/+8
* Tons of tweaks to the config stuff for the core•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5744 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-141-5/+0
* Fix PruneWhoWas to actually work right on rehash. Add debug output to whowas....•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5734 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-11-131-1/+1
* add <whowas> config option to control whowas behaviour. *may break*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5731 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-11-131-0/+9
* Merge peaveys patch, tracker #162•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5642 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-041-4/+10
* Please in the future everyone: DO NOT submit patches via nopaste. Nopaste is ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5632 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-021-1/+1
* Socket error state stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5607 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-311-1/+1
* Move opertypes/operclasses maps into ServerConfig, for some reason these were...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5419 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-051-2/+0
* Whowas is now fixed.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5414 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-041-1/+1
* Made CountChannels faster. We use it in quite a few places. It's now O(1) rat...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5094 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-311-0/+10
* *thwap* om for not fixing the bugs he finds :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5087 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-311-1/+1
* Snomask support cometh! and it leave a sticky white mess all over the floor :(•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5062 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-291-2/+5
* Add userrec::ChangeIdent (which we were missing) which can emulate the quit/r...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5022 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-251-1/+11
* EventHandler class, an abstraction for raw i/o•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4941 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-181-0/+5
* userrec::AddBuffer and userrec::Write end up copying the const std::string& i...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4933 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-171-2/+2
* Tons more docs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4895 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-9/+59
* Document all the new methods (eventually there will be more detail)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4893 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-0/+35
* Move tons more stuff into class InspIRCd*, make signal handler functions stat...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4855 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-3/+7
* FindNick, FindChan, ChanModes, UserList, CountInvisible, PurgeEmptyChannels, ...•••ServerConfig takes InspIRCd pointer in its constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4832 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-0/+4
* Move more stuff into userrec•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4823 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-0/+4
* Change some resolver stuff.•••OM, THIS STILL WONT COMPILE! Error on the same line git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4821 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-1/+0
* userrec and chanrec now have their own independent pointer back to their 'cre...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4820 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-4/+10
* Move tons more stuff into class InspIRCd•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4819 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-0/+2
* Tidy up loglevel enum (remove some C-ish defines)•••change ServerConfig to pass a pointer to 'this' to Validation etc functions git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4811 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-5/+6
* Get rid of Server::GetUsers(chanrec) - a throwback to before chanrec could do...•••Move: bool ChangeDisplayedHost(const char* host); bool ChangeName(const char* gecos); int CountChannels(); Into userrec git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4807 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-0/+6
* common_channels -> userrec::SharesChannelWith()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4805 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-2/+4
* WriteWallops() -> userrec::WriteWallops() (originates from a user, so belongs...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4802 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-2/+6
* Document new methods•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4801 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-1/+18
* WriteCommon() and WriteCommonExcept() -> userrec::WriteCommon(), userrec::Wri...•••WriteCommon_NoFormat() and WriteCommonExcept_NoFormat() -> std::string variants git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4800 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-0/+8
* Document Write* methods in userrec•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4799 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-5/+32
* WHEEEEE!!!!!•••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 Gravatar brain2006-08-081-0/+18
* Tons of comments•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4796 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-9/+137
* Move whowas stuff into its own namespace, move more stuff into userrec•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4795 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-18/+27