summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-08-10Warn if the server has no <bind> blocks.Peter Powell
2013-08-10Use an example server name if <server:name> is not defined.Peter Powell
2013-08-10Rename <connect:nouserdns> to <connect:resolvehostnames>.Peter Powell
This name is more descriptive and avoids a double negative which could make the name of this setting unclear to non-native speakers.
2013-08-09Remove virtual User::GetClass() (but keep LocalUser::GetClass())attilamolnar
2013-08-09Accept std::string as parameter in User::ChangeHost(), ChangeIdent() and ↵attilamolnar
ChangeName() Pass the string itself to IsIdent() instead of string.c_str()
2013-08-09Move host cycle logic into m_hostcycleattilamolnar
2013-08-08Fix a couple of issuesattilamolnar
- 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
2013-08-06Issue #604, fix m_dnsbl, broken in accccc212cd4f08a3c5532b1ae7a17e76bac8718Adam
2013-08-04Call ModeParser::Process() directly instead of going through the CommandParserattilamolnar
Simplify the way how m_conn_umodes assembles the modes it sets
2013-08-04FakeUsers are only inserted into UserManager::uuidlist; don't try to erase() ↵attilamolnar
them from clientlist
2013-08-04Automatically attach modules to eventsattilamolnar
2013-08-04Change the syntax of FOREACH macros to be less dumb.Adam
2013-08-04Modify the log message to contain the log type.Peter Powell
2013-08-04Change httpd modules to use the MODNAME constant in headers.Peter Powell
2013-08-04Change modules to use the MODNAME constant when logging.Peter Powell
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.
2013-08-04Remove a few not-so-useful debug messagesattilamolnar
2013-07-29Remove a ton of duplicate and obsolete code from configure.Peter Powell
- 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.
2013-07-24m_spanningtree Change the type of TreeServer::ServerName to std::stringattilamolnar
2013-07-24m_spanningtree Cleanup TreeServer and TreeSocket construction/destructionattilamolnar
2013-07-24umode_s Rewrite ProcessNoticeMasks() and remove a few related useless functionsattilamolnar
2013-07-24Rewrite SnomaskManager::SendMessage() and Flush(), split code into functionsattilamolnar
2013-07-20Enable the LINK snomask from m_spanningtree, remove unused FLOOD snomaskattilamolnar
2013-07-19m_ojoin Stop hardcoding +Y, move global vars into a class, move ↵attilamolnar
initialization code into init()
2013-07-19Get rid of enum UserModes and mark User::modes as privateattilamolnar
2013-07-19Replace hardcoded mode letters, part 3attilamolnar
This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core
2013-07-19Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the ↵attilamolnar
User class to the snomask modehandler
2013-07-19Replace hardcoded mode letters, part 2attilamolnar
This changes all remaining Channel::IsModeSet() and Channel::GetModeParameter() calls to use ModeReferences for modes that were created by other modules or the core
2013-07-19Seperate ModeReference into ChanModeReference and UserModeReferenceattilamolnar
2013-07-16Merge pull request #589 from SaberUK/master+fix-debug-buildAttila Molnar
Fix some warnings which are causing debug builds to fail.
2013-07-16Fix some warnings which are causing debug builds to fail.Peter Powell
- Clang: private field 'module' is not used - GCC: suggest a space before ‘;’ or explicit braces around empty body in ‘while’ statement
2013-07-16Use the preprocessor to check for TCP deferring support.Peter Powell
2013-07-06Remove restriction on changing <limits:maxline> while running.Peter Powell
2013-07-06Allow the user to specify any hashing mechanism supported by the underlying ↵Daniel Vassdal
SSL library
2013-07-04Merge pull request #574 from SaberUK/master+build-comment-cleanupAttila Molnar
Clean up unneeded build system comments.
2013-07-04Fix users being able to set <server:network> to an invalid value.Peter Powell
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-07-02Allow for skipping clone checking before DNS is complete.Daniel Vassdal
2013-07-01Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵attilamolnar
with ModeHandlers, part 1
2013-07-01Fix a few oversightsattilamolnar
This partially reverts e0cb6bd46fb1d804ad6adea5688c844f7e1a0f6f
2013-06-24m_repeat Optimize the Levenshtein() functionattilamolnar
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
2013-06-18Remove limitsomaxconn and remains of m_halfop/allowhalfopattilamolnar
2013-06-18Remove dead code from the InspIRCd and CommandParser classes and typedefs.hattilamolnar
Removed functions: InspIRCd: - Restart() - unused - DoSocketTimeouts() - no implementation exists - AddCommand() - useless wrapper around ModuleManager::AddService() CommandParser: - IsValidCommand() - unused - ProcessParameters() - no implementation exists
2013-06-18Minor changes to the startup and shutdown codeattilamolnar
- 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
2013-06-18Remove unused exit codesattilamolnar
2013-06-16Always set the topic in Channel::SetTopic(), move access checks into cmd_topicattilamolnar
2013-06-16Add RE2 regex module.Peter Powell
2013-06-16m_banredirect Accept channel names starting with #! and #@Daniel Vassdal
Fixes #504 reported by @mechasr
2013-06-13Call Channel::SetModeParam() from the mode parser when needed instead of ↵attilamolnar
requiring mode handlers to do it
2013-06-13Remove TR_END, remove TRANSLATEx() from commands that do not need itattilamolnar
2013-06-13Rewrite CommandParser::TranslateUIDs()attilamolnar