summaryrefslogtreecommitdiff
path: root/src/channels.cpp
Commit message (Expand)AuthorAgeFilesLines
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8695 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-1/+1
* Backport tweak to NAMES reply to show the proper =, * and @ from RFC 2812•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7953 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-2/+2
* Add some stuff to change how we process a token sepeperated stream•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7801 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-231-2/+5
* Tidyup a bunch of stuff that was using userrec::modes directly rather than us...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7506 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-231-2/+2
* Bit more tidying. Add some comments here, too.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7504 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-231-8/+14
* Minor cleanup•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7503 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-231-6/+1
* Fix for bug #358, by rogalek.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7501 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-231-4/+12
* 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/+1067
* '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-1067/+1
* Change some = "" to clear() and some == "" to .empty()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7263 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-091-3/+3
* This is a better fix, as it calls the mode handler giving the modules etc cha...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7198 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-011-14/+10
* Fix bug found by indigophone where +lk cant be set in defaultmodes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7197 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-011-0/+12
* 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-1/+18
* Reorder includes, dont worry there is method to my madness (i hope)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7093 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-211-1/+1
* We've had an IS_OPER macro for a long time. About time we started using it, m...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6990 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-121-1/+1
* Comment what ive done, so that someone doesnt go 'oh thats a redundant data c...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6941 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-101-0/+1
* Tweaks here so we can avoid data copies in uhnames•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6940 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-101-0/+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-16/+16
* We're setting chanrec::creation in here and not chanrec::age, this can and wi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6910 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-081-0/+1
* Fix bug where if an op is in channel then does /names later, all the non-ops ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6877 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-041-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-3/+4
* Where others charge, we give for free. Have fun and use wisely. With great po...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6867 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-041-0/+3
* DO NOT USE THIS COMMIT - if you do, most of the modules wont work.•••DEVS: Please fix all modules that have warnings to use the new parameters to OnUserJoin, OnUserPart and OnUserKick (bool &silent) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6858 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-031-9/+25
* 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-2/+5
* Addition of feature request outlined in bug #195, suggested by Bricker•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6602 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-191-6/+6
* Crusade to remove debug from stable and tested parts of the core and base mod...•••Most of the code here being de-noised hasnt had a crash or bug in it for many months, if not a year so the debug output is useless noise in the logfile when trying to trace a bug in a REAL problem area. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6356 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-151-22/+0
* Assigning a std::string var initially to "" is pointless.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6271 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-091-1/+1
* Tidy up (optimize, improve) chanrec::WriteChannelWithServ•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6269 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-091-1/+5
* Tidy up an if/then/else chain into a switch•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6268 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-091-15/+11
* 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-2/+15
* Fix desync with halfop and voice when opped (this happens because we were ORi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6232 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-061-3/+4
* Tweaks to instantiate less stuff when writing to a bunch of users•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6172 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-301-2/+4
* Tons of optimization of WriteChannel, WriteChannelWithServ, WriteCommon etc, ...•••Turns O(n) calls for every write into O(~1) calls per write. Remove some debug from the socketengines which makes debugging hard on large channels (write availability message) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6171 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-301-2/+8
* Hash rehashing change•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6080 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-13/+13
* Jesus, look who's the commit whore today. More header updates, and removal of...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5996 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-12/+7
* 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-6/+2
* Fix silly bug of the day.•••User was only getting a userrec::chans entry added if they had any privelages on the channel. If they werent opped, voiced, or halfopped on join, no entry in the hash. Silly brain now added a: user->chans[Ptr] = 0; :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5990 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-141-0/+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-96/+67
* Make the 'override' parameter actually *do* something, wee•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5836 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-031-3/+3
* 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-2/+24
* Thanks for the pointer jilles ;)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5720 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-121-1/+5
* Added time syncing! This is fairly simple - servers exchange timestamps and u...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5649 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2006-11-051-0/+1
* <pid file> is no longer a manditory tag (thanks dotslasher)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5556 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-271-0/+4
* Added OnPostJoin, which is (at the moment) almost exactly identical to OnUser...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5361 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2006-10-011-0/+1
* Fix mode desync when setting custom prefixes on joining users (trigger the mo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5359 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-301-15/+12
* Tidyups•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5350 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-271-2/+0
* Comments•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5349 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-271-5/+10
* Because the user's prefix list must remain sorted at all times (because of as...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5348 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-271-22/+10
* Optimizations•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5347 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-271-12/+6
* Tidy up how PART without reason is done•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5346 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-271-12/+4