summaryrefslogtreecommitdiff
path: root/src/modes
Commit message (Expand)AuthorAgeFilesLines
* 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-0/+8
* Fix my whoopsies•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6165 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-294-4/+4
* Add counter system for umodes to get rid of some O(n)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6163 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-294-0/+24
* Still more massive commit fun. Headers in include/ still to be done, else tha...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5997 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-1517-0/+221
* Make it neater•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5207 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-101-1/+2
* Dont allow keys of length >= 32•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5206 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-101-4/+2
* Changes to m_override•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5177 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-093-3/+12
* Comments•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5113 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-021-0/+3
* Actually make +ovhk removable with DelMode (just in case somebody wants to, o...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5112 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-025-1/+127
* Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include lists•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5080 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-303-23/+0
* FDSFDSACFasfcas•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5072 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-291-1/+1
* Fix typos•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5071 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-291-1/+1
* More snomask +o (unoper)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5070 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-291-0/+1
* auto-set +s when +n is set (as +n requires +s) - allow +n to be 'set twice' a...•••Add default snomask chars git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5063 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-291-0/+6
* 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/+8
* Add <options:cyclehosts> which allows a user to appear to have quit when thei...•••It is recommended this option always be on. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5017 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-253-4/+3
* 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-233-3/+18
* More tweaks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4981 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-191-1/+6
* Fixed makefile•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4980 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-191-17/+18
* Changed modes/ makefile (not yet tested)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4979 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-191-4/+53
* stskeeps trying to get his name all over our commit log :p (thanks for the bu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4960 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-181-1/+1
* Dont allow an empty key (thanks stskeeps)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4957 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-181-3/+8
* Just to mess with om's head, remove helperfuncs.h from everywhere•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-114-4/+4
* CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.•••NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-113-18/+18
* Move remaining functions:•••operstrcmp* commands.cpp InspIRCd::operstrcmp() duration* commands.cpp InspIRCd::duration() host_matches_everyone* commands.cpp InspIRCd::host_matches_everyone() ip_matches_everyone* commands.cpp InspIRCd::ip_matches_everyone() nick_matches_everyone* commands.cpp InspIRCd::nick_matches_everyone() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-113-6/+6
* Change to using Instance->Log (InspIRCd::Log) rather than log() macro•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-113-7/+7
* extern time_t TIME -> InspIRCd::Time()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4873 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-114-9/+1
* So much stuff changed in this one, i forgot most of it.•••Oh yeah, main thing is ModeHandler and ModeWatcher classes now take an InspIRCd* to their constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4858 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-1017-49/+29
* Move IsNick, IsIdent into class InspIRCd, update modules that use it.•••Change message.h to just a #warning saying its deprecated, and remove all use of it from the core :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4847 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-104-4/+0
* 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-104-7/+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-104-37/+37
* ServerConfig extern moved into class InspIRCd•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-094-6/+6
* 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-084-9/+10
* AddOper() and DeleteOper() -> userrec::Oper() and userrec::UnOper() (these do...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4792 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-3/+2
* Extra debug all over the place, which maybe we should keep•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4767 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-071-0/+3
* Change std::pair<bool,std::string> to neater typedef "ModePair"•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4557 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-276-5/+17
* Mode merging during FJOIN with ourts==theirts. Only +k and +l have CheckTimes...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4556 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-272-0/+11
* Fix the remote +k-k stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4554 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-271-2/+5
* Allow freaky stuff with +k when coming from a server or remote user (allow +k...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4553 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-271-2/+2
* Add extra method to mode handler, ModeHandler::ModeSet().•••Returns a std::pair<bool,string>. if the bool is true, the mode is set, and the second item in the pair is the parameter set on it, if any If the bool is false, the mode is not set, and the parameter given is returned as the second item of the pair To be used in mode bouncing, to build a safe set of bounced modes (dont ask yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4549 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-265-0/+76
* - Add usermode +n for notice masks - our implementation of snomasks. We're no...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4274 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-07-101-0/+26
* Implement DisplayList virtual method calls, and implement it in cmode_b•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4185 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-0/+11
* Add code to remove an opers opertype when they oper down•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4184 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-0/+2
* Add usermode +o, with special checking so that an oper may only remove the mo...•••Finish off facility for oper-only user and channel modes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4183 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-0/+29
* Convert new +isw modes to new mode format•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4176 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-083-18/+21
* Added usermodes +swi.•••Note the usermode system needs a bit of a refactor to combine module and core modes into the same storage neatly (as we did with channels) this is next on my todo. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4174 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-083-0/+75
* Add cmode +v - that's all the RFC channel modes done now•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4172 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-0/+104
* Add support for cmode +h•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4170 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-0/+113
* Add cmode +o (op/deop) and in the process change a lot of char* to const char...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4165 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-0/+104
* Convert the output limit back to the parameter•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4164 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-0/+2