aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Expand)AuthorAgeFilesLines
* Require privs given on initial join to be in <options:defaultmodes>.Gravatar Peter Powell2013-08-102-3/+6
* Rename <options:moronbanner> to <options:xlinemessage>.•••This name is more descriptive of what is actually is used for. Gravatar Peter Powell2013-08-103-5/+5
* Replace range() with min and max arguments on getInt().Gravatar Peter Powell2013-08-105-49/+20
* Prevent servers from ulining themselves.•••Almost every single case I have seen where this has been done has been an accident. Gravatar Peter Powell2013-08-101-0/+4
* Change the default for <security:customversion> to an empty string.•••RFC 1459 says this field is for comments about the version. If the operator has no comments then we should not show any. Gravatar Peter Powell2013-08-101-1/+1
* Warn if the server has no <bind> blocks.Gravatar Peter Powell2013-08-101-1/+6
* Use an example server name if <server:name> is not defined.Gravatar Peter Powell2013-08-101-2/+3
* 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-104-7/+7
* Remove virtual User::GetClass() (but keep LocalUser::GetClass())Gravatar attilamolnar2013-08-093-19/+6
* 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-0911-19/+19
* Move host cycle logic into m_hostcycleGravatar attilamolnar2013-08-093-79/+116
* 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-086-6/+6
* 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-044-21/+9
* FakeUsers are only inserted into UserManager::uuidlist; don't try to erase() ...Gravatar attilamolnar2013-08-041-1/+1
* Automatically attach modules to eventsGravatar attilamolnar2013-08-04135-593/+99
* Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-0430-69/+69
* Modify the log message to contain the log type.Gravatar Peter Powell2013-08-049-44/+40
* 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
* umode_s Rewrite ProcessNoticeMasks() and remove a few related useless functionsGravatar attilamolnar2013-07-241-76/+56
* Rewrite SnomaskManager::SendMessage() and Flush(), split code into functionsGravatar attilamolnar2013-07-241-60/+58
* Enable the LINK snomask from m_spanningtree, remove unused FLOOD snomaskGravatar attilamolnar2013-07-202-2/+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-192-4/+9
* 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-199-36/+60
* Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the U...Gravatar attilamolnar2013-07-195-103/+122
* 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-1914-90/+171
* Seperate ModeReference into ChanModeReference and UserModeReferenceGravatar attilamolnar2013-07-196-9/+12
* Merge pull request #589 from SaberUK/master+fix-debug-build•••Fix some warnings which are causing debug builds to fail.Gravatar Attila Molnar2013-07-161-1/+4
|\
| * Fix some warnings which are causing debug builds to fail.•••- Clang: private field 'module' is not used - GCC: suggest a space before ‘;’ or explicit braces around empty body in ‘while’ statement Gravatar Peter Powell2013-07-161-1/+4
* | Use the preprocessor to check for TCP deferring support.Gravatar Peter Powell2013-07-161-5/+2
|/
* Remove restriction on changing <limits:maxline> while running.Gravatar Peter Powell2013-07-061-4/+0
* Allow the user to specify any hashing mechanism supported by the underlying S...Gravatar Daniel Vassdal2013-07-062-5/+25
* Merge pull request #574 from SaberUK/master+build-comment-cleanup•••Clean up unneeded build system comments.Gravatar Attila Molnar2013-07-04171-349/+1
|\
| * Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-04171-349/+1
* | Fix users being able to set <server:network> to an invalid value.Gravatar Peter Powell2013-07-041-0/+3
|/
* Allow for skipping clone checking before DNS is complete.Gravatar Daniel Vassdal2013-07-023-14/+18
* Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() w...Gravatar attilamolnar2013-07-0136-146/+123
* Fix a few oversights•••This partially reverts e0cb6bd46fb1d804ad6adea5688c844f7e1a0f6f Gravatar attilamolnar2013-07-015-7/+8
* 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
* Remove limitsomaxconn and remains of m_halfop/allowhalfopGravatar attilamolnar2013-06-181-5/+0
* Remove dead code from the InspIRCd and CommandParser classes and typedefs.h•••Removed functions: InspIRCd: - Restart() - unused - DoSocketTimeouts() - no implementation exists - AddCommand() - useless wrapper around ModuleManager::AddService() CommandParser: - IsValidCommand() - unused - ProcessParameters() - no implementation exists Gravatar attilamolnar2013-06-183-54/+1
* Minor changes to the startup and shutdown code•••- Update comments - Close logs in LogManager destructor instead of relying on other code to do it - Change return type of InspIRCd::Run() to void - private: InspIRCd::CheckRoot() - Change log message type of setgroups() etc. errors to "STARTUP" - Load cmd_privmsg in PURE_STATIC builds Gravatar attilamolnar2013-06-183-22/+19
* Remove unused exit codesGravatar attilamolnar2013-06-182-21/+12
* Always set the topic in Channel::SetTopic(), move access checks into cmd_topicGravatar attilamolnar2013-06-164-36/+31