aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Make it work:Gravatar brain2006-07-121-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4357 e03df62e-2008-0410-955e-edbf42e46eb7
* Test framework in m_testcommand, add interfaceGravatar brain2006-07-121-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4354 e03df62e-2008-0410-955e-edbf42e46eb7
* Added class Resolver (needs testing)Gravatar brain2006-07-122-0/+32
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4353 e03df62e-2008-0410-955e-edbf42e46eb7
* Add single parameter versions of Extensible::Extend and Extensible::GetExt ↵Gravatar om2006-07-111-0/+34
| | | | | | for storing boolean values, seckshayer git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4324 e03df62e-2008-0410-955e-edbf42e46eb7
* Move openSockfd[] into ServerConfigGravatar brain2006-07-111-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4322 e03df62e-2008-0410-955e-edbf42e46eb7
* ContentSize speedupsGravatar brain2006-07-101-43/+48
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4316 e03df62e-2008-0410-955e-edbf42e46eb7
* Add FileReader::ContentSize and FileReader::ContentsGravatar brain2006-07-101-0/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4314 e03df62e-2008-0410-955e-edbf42e46eb7
* Try to make this serve some static contentGravatar brain2006-07-101-58/+58
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4308 e03df62e-2008-0410-955e-edbf42e46eb7
* Update docs to indicate new templated GetExt and Extend, remove references ↵Gravatar brain2006-07-101-2/+4
| | | | | | to char* and void* pointers in here, and indicate how its now possible to store a NULL in Extensible :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4306 e03df62e-2008-0410-955e-edbf42e46eb7
* Take out broken idGravatar brain2006-07-101-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4305 e03df62e-2008-0410-955e-edbf42e46eb7
* Aaaand, fix the typoGravatar brain2006-07-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4304 e03df62e-2008-0410-955e-edbf42e46eb7
* Added refcount to classbase, static classbase::idGravatar brain2006-07-101-2/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4303 e03df62e-2008-0410-955e-edbf42e46eb7
* I made a Boo Boo :pGravatar brain2006-07-101-4/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4301 e03df62e-2008-0410-955e-edbf42e46eb7
* Deps weedingGravatar brain2006-07-101-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4300 e03df62e-2008-0410-955e-edbf42e46eb7
* Inherit just about everything from classbaseGravatar brain2006-07-104-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4299 e03df62e-2008-0410-955e-edbf42e46eb7
* Inherit tons of stuff from classbase that should always have beenGravatar brain2006-07-106-10/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4298 e03df62e-2008-0410-955e-edbf42e46eb7
* Sort deps of base.hGravatar brain2006-07-101-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4295 e03df62e-2008-0410-955e-edbf42e46eb7
* Sort include dependencies of dns.hGravatar brain2006-07-101-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4294 e03df62e-2008-0410-955e-edbf42e46eb7
* Made a load more stuff Extensible which might be of use to someoneGravatar brain2006-07-1010-24/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4293 e03df62e-2008-0410-955e-edbf42e46eb7
* Properly set the resulting pointer to NULL when the object isnt foundGravatar brain2006-07-101-9/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4292 e03df62e-2008-0410-955e-edbf42e46eb7
* If you ask me, it looks a hell of a lot tidier without forcing the cast.Gravatar brain2006-07-102-6/+24
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4277 e03df62e-2008-0410-955e-edbf42e46eb7
* - userrec::ProcessNoticeMasks - provide a way to set or unset masks.Gravatar w00t2006-07-101-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4276 e03df62e-2008-0410-955e-edbf42e46eb7
* - Add usermode +n for notice masks - our implementation of snomasks. We're ↵Gravatar w00t2006-07-101-0/+8
| | | | | | not sure how this will tie in with +s yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4274 e03df62e-2008-0410-955e-edbf42e46eb7
* -Clone mode methods into notice mask methods for userrec.Gravatar w00t2006-07-101-0/+14
| | | | | | - Modify userrec to add char [] of notice masks, works in the same function as modes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4273 e03df62e-2008-0410-955e-edbf42e46eb7
* Add empty snomasks.cpp (still got to add headers here so the build doesnt ↵Gravatar brain2006-07-101-0/+0
| | | | | | barf on the empty file?) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4270 e03df62e-2008-0410-955e-edbf42e46eb7
* Add interface to AddModeWatcher and DelModeWatcher into class ServerGravatar brain2006-07-101-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4267 e03df62e-2008-0410-955e-edbf42e46eb7
* Added ModeParser::AddModeWatcher() and ModeParser::DelModeWatcher()Gravatar brain2006-07-101-0/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4266 e03df62e-2008-0410-955e-edbf42e46eb7
* Finally finished documenting new mode parser. Lots of comments.Gravatar brain2006-07-091-6/+108
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4242 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix whoopsiesGravatar brain2006-07-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4239 e03df62e-2008-0410-955e-edbf42e46eb7
* Added Server::GetModuleName(), Module* to filenameGravatar brain2006-07-091-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4238 e03df62e-2008-0410-955e-edbf42e46eb7
* Reorder to avoid warning.Gravatar brain2006-07-091-1/+1
| | | | | | | We could make the autotidy stuff part of the 'check argument' virtual method in banexception and inviteexception at a later date? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4237 e03df62e-2008-0410-955e-edbf42e46eb7
* Altered u_listmode to have a constructor arg 'autotidy' which if set to true ↵Gravatar brain2006-07-091-4/+5
| | | | | | runs input through ModeParser::CleanMask() otherwise leaves it alone git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4236 e03df62e-2008-0410-955e-edbf42e46eb7
* Alter SetModeParam to take const char* to save on casts, notice a load of ↵Gravatar brain2006-07-091-1/+1
| | | | | | modules that arent setting the param or the mode inside the handler git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4231 e03df62e-2008-0410-955e-edbf42e46eb7
* Okay..updates to u_listmode, general cleanups and add some virtual methods ↵Gravatar om2006-07-091-12/+60
| | | | | | | | which subclasses can override to alter behaviour..all looking much nicer and more flexible now. Update m_chanfilter to use u_listmode, demonstrates most or all of the new features of it and looks a hell of a lot prettier :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4201 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a parameter to set what config tag to parse (defaults to what was ↵Gravatar om2006-07-091-17/+12
| | | | | | previously hardcoded); Some other cleanups using initialisation lists, and using a ConfigParser stack-allocated rather than keeping a persistent heap-allocated one; Remove hardcoded filename prefixes in log messages git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4200 e03df62e-2008-0410-955e-edbf42e46eb7
* Did some renaming so that the methods for modes in chanrec and userrec are ↵Gravatar brain2006-07-082-3/+5
| | | | | | | | | | | identical. bool IsModeSet(const unsigned char c); void SetMode(const unsigned char c, bool value); Fixed m_botmode for new api git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4194 e03df62e-2008-0410-955e-edbf42e46eb7
* Port m_blockcaps to new api, remove OnExtendedMode and OnDisplayList events ↵Gravatar brain2006-07-082-36/+3
| | | | | | entirely git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4191 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert u_listmode and m_banexception to new apiGravatar brain2006-07-082-125/+109
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4189 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove Server::AddExtendedMode and Server::AddExtendedListMode, replace with ↵Gravatar brain2006-07-082-69/+4
| | | | | | | | | Server::AddMode (makes more sense naming wise too as all modes are modes, all the same now) NOTE: Modules that implement modes WILL NO LONGER COMPILE NOW UNTIL THEY ARE PORTED TO THE NEW API git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4188 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement DisplayList virtual method calls, and implement it in cmode_bGravatar brain2006-07-081-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4185 e03df62e-2008-0410-955e-edbf42e46eb7
* Add usermode +o, with special checking so that an oper may only remove the ↵Gravatar brain2006-07-081-0/+8
| | | | | | | | | mode not set it (on himself or others) - 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
* Added DisplayCurrentModes which will display the modes of a channel or nickGravatar brain2006-07-081-4/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4181 e03df62e-2008-0410-955e-edbf42e46eb7
* Add userrec::HasMode, fix some typos.Gravatar brain2006-07-082-1/+2
| | | | | | | | TODO: Make more use of userrec::HasUmode('c') rather than user->modes['c'-65] *oogly* Next - get umode +o working! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4178 e03df62e-2008-0410-955e-edbf42e46eb7
* Change channelmodes -> usermodes (typo)Gravatar brain2006-07-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4177 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert new +isw modes to new mode formatGravatar brain2006-07-081-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4176 e03df62e-2008-0410-955e-edbf42e46eb7
* Refactored user modes to work like the channel modes - core and module data ↵Gravatar brain2006-07-082-25/+18
| | | | | | now the same storage format without ::modebits git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4175 e03df62e-2008-0410-955e-edbf42e46eb7
* Added usermodes +swi.Gravatar brain2006-07-084-0/+25
| | | | | | | | | 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
* Add cmode +v - that's all the RFC channel modes done nowGravatar brain2006-07-081-0/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4172 e03df62e-2008-0410-955e-edbf42e46eb7
* Add support for cmode +hGravatar brain2006-07-081-0/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4170 e03df62e-2008-0410-955e-edbf42e46eb7
* Add cmode +o (op/deop) and in the process change a lot of char* to const ↵Gravatar brain2006-07-082-9/+24
| | | | | | char* to avoid unneccessary casts git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4165 e03df62e-2008-0410-955e-edbf42e46eb7