summaryrefslogtreecommitdiff
path: root/src/modules/m_cloaking.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Now with binary versioning goodnessGravatar brain2006-10-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7
* AnnotationsGravatar brain2006-09-151-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5254 e03df62e-2008-0410-955e-edbf42e46eb7
* Add m_conn_umodes.so which allows setting of modes on users when they connectGravatar brain2006-09-131-16/+1
| | | | | | | | | Remove automatic +x from m_cloaking now that conn_umodes can do this Document in example conf. Syntax is <connect:modes> and a mode string in any valid connect:allow tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5236 e03df62e-2008-0410-955e-edbf42e46eb7
* All modules which implement simplemodes (no parameters, not a list mode) can ↵Gravatar brain2006-09-021-1/+2
| | | | | | now be UNLOADED O_o git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5102 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to using Instance->Log (InspIRCd::Log) rather than log() macroGravatar brain2006-08-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7
* ConfigReader and FileReader now take InspIRCd* to their constructorsGravatar brain2006-08-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4865 e03df62e-2008-0410-955e-edbf42e46eb7
* None of the modules use an extern InspIRCd* any moreGravatar brain2006-08-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4863 e03df62e-2008-0410-955e-edbf42e46eb7
* Last of Server:: methods moved to InspIRCd::. Server:: removed.Gravatar brain2006-08-101-4/+4
| | | | | | | | This will need a real good tidyup later, because now everything is in the right place, but its a mess because for now i threw them into place (e.g. space indenting, etc) Next on the todo: Make command handlers have a ServerInstance (gank!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4861 e03df62e-2008-0410-955e-edbf42e46eb7
* Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.Gravatar brain2006-08-101-5/+5
| | | | | | | | Changed Parameter for modules from Server* to InspIRCd*. TODO: Move remaining Server* Modules into InspIRCd* and remove class Server. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4859 e03df62e-2008-0410-955e-edbf42e46eb7
* So much stuff changed in this one, i forgot most of it.Gravatar brain2006-08-101-2/+2
| | | | | | | 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
* Removal of Server::Log -- not much ever used it anyway with the ability to ↵Gravatar brain2006-08-101-1/+1
| | | | | | use log(). log() macro still exists, and calls InspIRCd::Log() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4845 e03df62e-2008-0410-955e-edbf42e46eb7
* Server::GetAdmin, Server::GetServerDescription, Server::GetNetworkName --- ↵Gravatar brain2006-08-101-1/+3
| | | | | | *REMOVED* git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4843 e03df62e-2008-0410-955e-edbf42e46eb7
* Get rid of Server::GetUsers(chanrec) - a throwback to before chanrec could ↵Gravatar brain2006-08-091-2/+2
| | | | | | | | | | | | | do this itself Move: bool ChangeDisplayedHost(const char* host); bool ChangeName(const char* gecos); int CountChannels(); Into userrec git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4807 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for ipv6 buildGravatar brain2006-08-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4757 e03df62e-2008-0410-955e-edbf42e46eb7
* Dont try and cloak remote clientsGravatar brain2006-08-051-1/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4727 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra stuff for identifying ipv6 addressesGravatar brain2006-08-051-4/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4726 e03df62e-2008-0410-955e-edbf42e46eb7
* Use insp_aton so we can correctly cloak ipv6Gravatar brain2006-08-051-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4725 e03df62e-2008-0410-955e-edbf42e46eb7
* mass tidyup, change A LOT of stuff to const char** which was char** (such as ↵Gravatar brain2006-07-161-1/+1
| | | | | | | | | | parameters to commands in handlers) which makes the new lineparser work neater with no casts. This also removes tons of casts from other locations (all in all, ive added 2 casts and removed almost a hundred) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4403 e03df62e-2008-0410-955e-edbf42e46eb7
* Making lots of stuff inherit from classbase so we can use it as a holdall ↵Gravatar brain2006-07-101-1/+3
| | | | | | class that we can throw around with dynamic_cast<> git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4297 e03df62e-2008-0410-955e-edbf42e46eb7
* Add HAS_STDINT checks here, this had been sitting not in extra/ and using ↵Gravatar om2006-07-101-0/+7
| | | | | | stdint.h for aaaages anyway... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4264 e03df62e-2008-0410-955e-edbf42e46eb7
* Updates to new APIGravatar om2006-07-091-102/+108
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4215 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to stdintGravatar brain2006-06-151-5/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4012 e03df62e-2008-0410-955e-edbf42e46eb7
* Look at this further later - 64 bit fixesGravatar brain2006-06-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4004 e03df62e-2008-0410-955e-edbf42e46eb7
* Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE ↵Gravatar w00t2006-04-061-16/+16
| | | | | | THEM - we now have no stupid spaces. This was mostly a mass find/replace, so some indentation may be stuffed. Minor issue, though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix typo in spanningtree (who put this colon here?)Gravatar brain2006-03-271-10/+16
| | | | | | | Allow for safer cloaking of hosts > 64 (backport from stable) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3782 e03df62e-2008-0410-955e-edbf42e46eb7
* More converted modulesGravatar brain2006-03-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3655 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed to throw exception when theres no cloak keyGravatar brain2006-02-281-6/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3389 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed loglevel of cloak key errors to SPARSEGravatar brain2006-02-281-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3388 e03df62e-2008-0410-955e-edbf42e46eb7
* Added configurable cloakkey and cloakprefixGravatar brain2006-02-281-19/+45
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3387 e03df62e-2008-0410-955e-edbf42e46eb7
* Updated copyrights in headers etc using perl inplace editGravatar brain2006-01-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
* Converted to new implements systemGravatar brain2005-12-261-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2657 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimized out strcpys that copy empty strings (craq++)Gravatar brain2005-12-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2637 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved a ton of defined to modules.h that belong thereGravatar brain2005-12-161-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2524 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed behaviour of module API to pass Server* to the constructor, rather ↵Gravatar brain2005-12-071-7/+6
| | | | | | than have to create one (makes more sense) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2252 e03df62e-2008-0410-955e-edbf42e46eb7
* More stylistic changes.Gravatar w00t2005-11-301-4/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2030 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed to use __single_client_alloc, faster on most systems in a single threadGravatar brain2005-05-151-0/+2
| | | | | | | Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed /unloadmodule on crappy gentooGravatar brain2005-04-111-5/+234
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1046 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed issue where failing modules would bail by calling exit (deprecated) --Gravatar brain2005-04-071-1/+1
| | | | | | | modules should now just disable their functionality if they are missing data git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1007 e03df62e-2008-0410-955e-edbf42e46eb7
* Tons of module versionflags stuff, and checks for it in /UNLOADMODULEGravatar brain2005-04-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1001 e03df62e-2008-0410-955e-edbf42e46eb7
* Added version flagsGravatar brain2005-04-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1000 e03df62e-2008-0410-955e-edbf42e46eb7
* Updated header commentsGravatar brain2004-05-161-0/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@816 e03df62e-2008-0410-955e-edbf42e46eb7
* Added m_nonotice, implements unreal-style chanmode +TGravatar brain2004-05-101-5/+2
| | | | | | | Fixed cloaking target bugs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@804 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed m_redirect.so which was claiming every mode that came its way!Gravatar brain2004-05-091-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@803 e03df62e-2008-0410-955e-edbf42e46eb7
* Added Module::OnAccessCheckGravatar brain2004-05-011-1/+1
| | | | | | | | | Added ListMode support Fixed Extensible class bug Added +qa mode module git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@760 e03df62e-2008-0410-955e-edbf42e46eb7
* Abstracted host/gecos changing to Server:: methodsGravatar brain2004-04-121-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@563 e03df62e-2008-0410-955e-edbf42e46eb7
* Modified the Module::OnExtendedMode() method to use a void* as its target ↵Gravatar brain2004-04-051-7/+12
| | | | | | which the coder must cast into a chanrec or userrec. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@383 e03df62e-2008-0410-955e-edbf42e46eb7
* Added comments to m_cloaking.cppGravatar brain2004-04-041-14/+61
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@379 e03df62e-2008-0410-955e-edbf42e46eb7
* Completed support for module-handled umodesGravatar brain2004-04-041-12/+52
| | | | | | | Updated m_cloaking to auto-set mode +x, and update cloaking status as its added/removed from users git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@378 e03df62e-2008-0410-955e-edbf42e46eb7
* STL namespace fixesGravatar randomdan2003-07-221-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@176 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed to using LogLevelsGravatar brain2003-02-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@163 e03df62e-2008-0410-955e-edbf42e46eb7