summaryrefslogtreecommitdiff
path: root/include/channels.h
Commit message (Expand)AuthorAgeFilesLines
* Remove custom members for +lk storage•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10053 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-201-10/+0
* 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-2/+2
* Overload IsExtBanned to provide a *string matching* version, this finally ope...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9987 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-121-0/+4
* Convert API to use std::string, fixes my slight bug from earlier and looks ti...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9956 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-111-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-1/+1
* Convert channel::name to std::string, this was a beastie!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9770 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-191-4/+4
* Convert channel banlist members to std::string•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9769 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-191-2/+2
* This should probably be tested, but makes a whole lot more sense like this (u...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9404 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-071-1/+1
* The start of extended bans infrastructure: syntax is e.g. +b n:w00tdiff@*, ba...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9337 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-041-0/+7
* Remove this, it won't work (reliably), use ModeParser::ModeString() instead, ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9243 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-011-6/+0
* Configurable prefixes for chanmodes +qa: prefixes can be turned on or off ind...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9241 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-011-0/+6
* 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-4/+4
* Someone please help me fix the warnings in modules caused by this change. All...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8964 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-181-1/+1
* Commit patch from danieldg that makes a ton of stuff const-safe for latest wa...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8922 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-131-3/+3
* Clear up header insanity•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-031-8/+0
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-1/+1
* Move CreateChannel to a constructor instead•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8647 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-061-13/+5
* Move channel creation to a seperate Channel::CreateChannel (y'know, perhaps t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8646 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-061-0/+8
* Forward declaration isn't required here•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8645 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-061-3/+0
* Roadmap item "Fix jointhrottle to not try 'throttle' clients during a netmerg...•••requires an extra parameter to OnUserJoin, bool sync. usually false, but FJOIN code during burst sets it to true. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8552 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-091-2/+2
* In the grand tradition of huge fucking commits:••• - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-48/+48
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1/+551
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are au...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-551/+1
* Extra comments•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7368 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-171-17/+36
* Config option for default channel modes -- more to follow, don't use yet•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7163 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-271-0/+4
* Space indents must die.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7049 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-191-8/+8
* Windows support. Tested and working to compile on freebsd and linux. Next ste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-191-1/+1
* Small api change with wide reaching effects in modules - Allows modification ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6934 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-101-1/+1
* Add <auditorium showops> which determines if auditorium works like ircnet +a ...•••The old behaviour is similar to anonymous channels, only showing the current user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6875 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-041-1/+3
* set the TS of a channel in JoinUser, not after the entire FJOIN, this is safe...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6690 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-181-1/+1
* Allow for nick!user@host in TOPIC information.•••Note that this adds another <options> tag value, 'hostintopic'. (defaults to yes) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6572 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-111-1/+1
* Cache channel max bans value to save an O(n) loop of match() on every ban (et...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6267 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-091-0/+8
* 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
* 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-28/+1
* Update comments to reflect new API•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5807 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-261-4/+23
* Add extra parameter to OnUserPreNotice and OnUserPrePrivmsg, CUList &exempt_l...•••This also bumps the module api version by one. added "CUList fixme" to peaveys module just so it builds, as this will be refactored to use the new feature that was just added :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5806 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-261-0/+4
* Whoops, patch•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5324 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-251-1/+1
* Fix for bug noticed by dotslasher (?) where SAJOIN can desync•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5258 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-151-8/+0
* Remove ExemptItem and InviteItem, these were never used•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5253 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-151-12/+0
* * Fix ChanModes::ModeString to not try and set a key as a user mode ;)•••* Tweak the way cyclehosts works, so that mode change is not echoed back to user who changes their host/ident git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5208 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-101-2/+6
* Add chanrec::IsBanned() so that we dont have to keep walking the banlist in v...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5099 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-021-0/+6
* Update comment•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5054 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-281-1/+3
* Document ModeParser::FindPrefix() and chanrec::GetAllPrefixes()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5006 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-231-7/+11
* Multi-prefix FJOIN, and allowing module-defined prefixes across the network•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5002 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-231-0/+2
* Document mode prefixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4999 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-231-3/+45
* Spotted problem: must clear out all prefixes attached to a user when they qui...•••Next thing to do, consider removing of opped_userlist, halfopped_userlist and voiced_userlist as this data is now in the prefixlist git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4998 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-231-0/+2
* Mode handlers handling listmodes where a listmode item is a nickname can now ...•••This isnt documented yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4997 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-231-0/+7
* Documentation of new chanrec functions•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4894 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-0/+26
* cmode(), cflags(), cstatus() -> chanrec::GetStatusChar(), chanrec::GetStatusF...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4837 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-0/+6
* 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/+8