aboutsummaryrefslogtreecommitdiff
path: root/include/mode.h
Commit message (Expand)AuthorAgeFilesLines
* Fix Doxygen syntax errors.Gravatar Peter Powell2012-07-051-8/+12
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
* Fixes for bug #12Gravatar Justin Crawford2012-04-141-2/+2
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Remove mode counter, not reliable and only used for umode +i•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12246 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-091-10/+0
* Use ServiceProvider for inter-module dependencies•••This will stop dependency chains from preventing module reloads when it is not actually needed; however, it removes some failsafes that will need to be reimplemented in order to avoid unmapped vtables. This deprecates Request as an inter-module signaling mechanism, although SQL still uses it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12140 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-161-1/+1
* Add Inspircd::AddServices•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12135 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-151-7/+1
* Add ParamChannelModeHandler•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12134 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-151-1/+11
* Add ModeHandler* versions of channel mode access•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12133 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-151-5/+1
* Remove AllowHalfop item from server config•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11996 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-031-2/+3
* Get rid of ModePair•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11963 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-241-34/+0
* Get rid of more unneeded parent classes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11930 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-201-1/+1
* Maintain refcount of Module objects to complain about leaked pointers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11925 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-191-2/+2
* Make classbase and refcountbase uncopyable; expand comments on their indended...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-1/+1
* Add ModeHandler::cull() for auto-deletion, fixes call of virtual method on pa...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11883 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-0/+1
* Remove Command and ModeHandler objects in their destructors; fixes possible p...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11872 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-131-3/+0
* Add names for all modes (part 1 of named channel mode list)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11809 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-081-20/+12
* Run DelMode and DelModeWatcher in RemoveModule•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11799 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-051-17/+26
* Change IS_FAKE and CheckTimeStamp to IS_SERVER and ResolveModeConflict to cla...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11765 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-1/+1
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-7/+3
* Fix access checks on chanprotect preventing use of SAMODE•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11717 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-1/+11
* Remove redundant ServerInstance* fields•••It has been impossible to have more than one InspIRCd* object in the same address space for some time now, and this feature was never used. This formalizes class InspIRCd as a singleton object. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11703 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-5/+0
* Simplify ModeHandler constructor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11701 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-27/+25
* Membership* changes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11697 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-9/+1
* Remove "servermode" parameter, replace with IS_FAKE() which is more reliable•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11633 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-8/+7
* Add Module* creator to Command and ModeHandler•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-6/+14
* Valgrind cleanup: deallocate RFC modes, clientlist, and uuidlist•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11614 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-0/+1
* Remove unneeded Extensible inheritance and remove "age" field from classbase•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11611 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-2/+2
* Use CheckTimeStamp to merge modes on netburst•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11596 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-4/+2
* Rework mode parser into slightly smaller chunks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11594 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-0/+9
* Replace std::deque with std::vector in spanningtree and related modules•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11593 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-4/+4
* 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
* Include explicit parameter list in ProtocolInterface::SendMode•••Also leave the strings split into deque, there's no need to pack it into a string just to unpack it during the translate. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11181 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-071-0/+4
* Construct explicit parameter type list for MODE parameters•••Previously, we used TR_SPACENICKLIST on the parameters. This worked only because usually, if anything in the list parsed as a nick, then it was a nick. However, some modes like +k and +g allow free-form text, which could also resolve as a nick. Add extra parameters to allow modes to specify their TranslateType, defaulting to TR_TEXT. This fixes bug #757, found by Taros git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11180 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-061-2/+12
* Nuke trailing spaces•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-02-141-5/+4
* 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
* Add user/channel mode synchronisation detection to CAPAB - link will now drop...•••This will not affect services. Side effect: Modes::ChanModes() -> Modes::GiveModeList(ModeMasks), mode list is formatted identically for both MASK_CHANNEL and MASK_USER. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10733 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-271-2/+7
* Whoops, left off a virtual. Please ensure youre using this version if you act...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10366 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-311-1/+1
* 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-0/+4
* Add OnParameterMissing to modehandler, called when the mode handler should ha...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10149 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-171-0/+8
* Update comments for new api•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9610 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-041-1/+0
* Conversion of command handler params from "const char* const* parameters, int...•••IMPORTANT: The mode parser public calls have had to be tweaked a bit to also use the string vector. Note that this makes a LOT of our core a bit messy and paves the way to convert a lot of stuff from the mess of .c_str() calls to using std::string params directly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9608 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-041-1/+1
* Optimize MODE #chan b etc, avoid a 256 byte memset for duplicate mode checks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9601 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-021-0/+4
* Simple user/channel mode patch•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9596 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-011-0/+26
* Fixes for bug #493, tidyups to clearing of channel modes on losing FJOIN. Mod...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9283 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-021-2/+2
* Add an optional bool to ModeParser::ModeString() to not give the nickname n t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9242 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-011-1/+3
* Add ability to control what opertypes can set what operonly user/chan modes. ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9176 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-03-231-0/+5
* Wheee, mass commit! this adds const stafety, throwing a compile error if anyo...•••copy the pointer. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8971 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-201-1/+1
* 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-3/+3
* New mode stuff. Note, the framework is now here so that every mode handler ca...•••then only a halfop or above can use mode +j. If you put '@' in this member value, only ops and above can use it. The OnRawMode can return ACR_ALLOW on a case by case basis to totally override this check against the prefix char. If you return ACR_DEFAULT the check goes ahead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8935 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-141-1/+10