aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Expand)AuthorAgeFilesLines
* Replace range() with min and max arguments on getInt().Gravatar Peter Powell2013-08-102-24/+5
* Rename <connect:nouserdns> to <connect:resolvehostnames>.•••This name is more descriptive and avoids a double negative which could make the name of this setting unclear to non-native speakers. Gravatar Peter Powell2013-08-101-1/+1
* Accept std::string as parameter in User::ChangeHost(), ChangeIdent() and Chan...•••Pass the string itself to IsIdent() instead of string.c_str() Gravatar attilamolnar2013-08-099-14/+14
* Move host cycle logic into m_hostcycleGravatar attilamolnar2013-08-091-0/+114
* Fix a couple of issues•••- Wrong doc for Snomask::GetDescription() - Incorrect idle time when WHOISing remote users - String + int = garbage - Remote MODE commands (user mode changes) being broadcast in addition to being forwarded - Incorrect revision being shown Gravatar attilamolnar2013-08-083-3/+3
* Issue #604, fix m_dnsbl, broken in accccc212cd4f08a3c5532b1ae7a17e76bac8718Gravatar Adam2013-08-061-5/+5
* Call ModeParser::Process() directly instead of going through the CommandParser•••Simplify the way how m_conn_umodes assembles the modes it sets Gravatar attilamolnar2013-08-043-20/+8
* Automatically attach modules to eventsGravatar attilamolnar2013-08-04127-499/+0
* Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-049-14/+14
* Modify the log message to contain the log type.Gravatar Peter Powell2013-08-048-39/+39
* Change httpd modules to use the MODNAME constant in headers.Gravatar Peter Powell2013-08-043-3/+3
* Change modules to use the MODNAME constant when logging.•••The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them. Gravatar Peter Powell2013-08-0441-131/+131
* Remove a few not-so-useful debug messagesGravatar attilamolnar2013-08-045-23/+1
* Remove a ton of duplicate and obsolete code from configure.•••- Add the data and log paths to dumphash. - Always exit with EXIT_FAILURE on error. - Always replace the old config.h with our new one. - Clean up the ./configure --help message slightly. - Install dhparams.pem into the conf directory on GnuTLS as well as OpenSSL. - Only show the users InspIRCd Git revision when building from Git. - Remove a check for MinGW (we have proper Windows builds). - Remove a check for FreeBSD 4 (released in 2000). - Remove a ton of pointless tab-indented comments. - Remove a ton of duplicate or unused variables. - Remove the check for stdint.h (always available on TR1 compilers). - Remove the $writeheader argument from writefiles (always 1). - Remove the following %config options: - DESTINATION (not used, always set to BASE). - EXECUTABLE (always set to inspircd). - OSNAME (duplicate of SYSTEM). - Remove support for checking whether -extra modules are up to date (if the user is installing they won't have any -extra modules installed). - Remove SSL generation messages (genssl provides these). - Replace inappropriate uses of printf with print. - Replace is_dir with -d from the Perl stdlib. - Replace resolve_directory with rel2abs from the Perl stdlib. - Rewrite getrevision to be more compact, cache the revision and return 'release' on non-Git builds. - Use consistent messages for all tests. - Use tput to clear the screen in a portable way. Gravatar Peter Powell2013-07-293-24/+2
* m_spanningtree Change the type of TreeServer::ServerName to std::stringGravatar attilamolnar2013-07-248-29/+17
* m_spanningtree Cleanup TreeServer and TreeSocket construction/destructionGravatar attilamolnar2013-07-245-87/+28
* Enable the LINK snomask from m_spanningtree, remove unused FLOOD snomaskGravatar attilamolnar2013-07-201-0/+2
* m_ojoin Stop hardcoding +Y, move global vars into a class, move initializatio...Gravatar attilamolnar2013-07-191-24/+22
* Get rid of enum UserModes and mark User::modes as privateGravatar attilamolnar2013-07-191-1/+4
* Replace hardcoded mode letters, part 3•••This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core Gravatar attilamolnar2013-07-193-5/+21
* Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the U...Gravatar attilamolnar2013-07-191-1/+15
* Replace hardcoded mode letters, part 2•••This changes all remaining Channel::IsModeSet() and Channel::GetModeParameter() calls to use ModeReferences for modes that were created by other modules or the core Gravatar attilamolnar2013-07-197-42/+72
* Seperate ModeReference into ChanModeReference and UserModeReferenceGravatar attilamolnar2013-07-193-3/+3
* Allow the user to specify any hashing mechanism supported by the underlying S...Gravatar Daniel Vassdal2013-07-062-5/+25
* Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-04158-324/+1
* Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() w...Gravatar attilamolnar2013-07-0132-126/+108
* Fix a few oversights•••This partially reverts e0cb6bd46fb1d804ad6adea5688c844f7e1a0f6f Gravatar attilamolnar2013-07-011-1/+2
* m_repeat Optimize the Levenshtein() function•••New version uses 2 vectors instead of a matrix Do not shrink the vectors even if the user sets a lower <repeat:size> than before, this is because longer lines may remain in the backlog Gravatar attilamolnar2013-06-241-31/+24
* Always set the topic in Channel::SetTopic(), move access checks into cmd_topicGravatar attilamolnar2013-06-162-5/+3
* Add RE2 regex module.Gravatar Peter Powell2013-06-161-0/+89
* m_banredirect Accept channel names starting with #! and #@•••Fixes #504 reported by @mechasr Gravatar Daniel Vassdal2013-06-161-7/+9
* Call Channel::SetModeParam() from the mode parser when needed instead of requ...Gravatar attilamolnar2013-06-138-15/+0
* Remove TR_END, remove TRANSLATEx() from commands that do not need itGravatar attilamolnar2013-06-1329-33/+17
* Rewrite CommandParser::TranslateUIDs()Gravatar attilamolnar2013-06-133-9/+3
* Introduce ModeProcessFlags, can be passed to ModeParser::Process() to indicat...•••Change ProtocolInterface::SendMode() to take source and destination parameters, and call it from the mode parser whenever the mode change is global This deprecates the ambiguous InspIRCd::SendMode() and InspIRCd::SendGlobalMode() interface (the latter sent mode changes originating from local users twice, etc.) Gravatar attilamolnar2013-06-1319-84/+50
* m_spanningtree Move SVSMODE -> MODE translation into the appropiate place, ig...Gravatar attilamolnar2013-06-122-8/+6
* m_spanningtree Rewrite incoming (E|G|K|Q|Z)LINE commands from 2.0 servers int...•••These commands were never documented to be usable in the server protocol but we accepted them nevertheless from servers Gravatar attilamolnar2013-06-121-0/+23
* Get rid of the OnRemoteKill hook, make use of GetRouting() and TR_CUSTOM to r...Gravatar attilamolnar2013-06-123-18/+1
* Implement GetRouting() in core commands that require it, remove ugly workarou...Gravatar attilamolnar2013-06-121-9/+1
* m_callerid Route ACCEPT to the server of the target user only, do not send ME...•••ACCEPTs coming from 2.0 servers with a list of uuids are broadcast, as before Gravatar attilamolnar2013-06-121-53/+72
* CommandParser::LoopCall() changes•••- Change function to be static, return a bool - Do not filter duplicates when there are 2 lists (JOIN) - Remove validation of 'extra' parameter, caller must pass either a valid index or -1 Gravatar attilamolnar2013-06-121-1/+1
* Change command name parameter of OnPostCommand to be a Command*Gravatar attilamolnar2013-06-124-12/+7
* Simplify stringjoiner: take 1 parameter, join from begin() to end() and use s...Gravatar attilamolnar2013-06-124-16/+9
* m_banredirect Fix modestack usageGravatar attilamolnar2013-06-121-7/+5
* Added m_repeat - Allows for blocking of similiar messages•••Changes to the original module: - Parse settings using a sepstream, accept remote mode changes regardless of our config - Refuse to link when config settings differ - Style changes All ideas and features are the brainchild and work of Daniel Vassdal Gravatar Daniel Vassdal2013-06-101-0/+424
* Change the API of m_httpd to be dynamic_reference-basedGravatar attilamolnar2013-06-074-12/+43
* Change the API of m_sslinfo to be dynamic_reference-basedGravatar attilamolnar2013-06-072-21/+42
* Create SSLIOHook interface that provides GetCertificate()Gravatar attilamolnar2013-06-075-48/+28
* Create IOHook interface (extracted from Module)Gravatar attilamolnar2013-06-075-655/+703
* Store prefix rank in a ModeHandler field, change ModeHandler::GetPrefixRank()...Gravatar attilamolnar2013-06-063-19/+6