summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
AgeCommit message (Collapse)Author
2015-11-15Merge pull request #1103 from rburchell/master-fix-infoAttila Molnar
Some updates to INFO.
2015-11-09inspircd: Don't list individual authors on startup.Robin Burchell
We already keep track of this in /INFO, so point there instead.
2015-11-03Remove UserManager::GarbageCollect()Attila Molnar
2015-05-17Move code that quits all users from InspIRCd::Cleanup() to cmd_dieAttila Molnar
2015-05-17Fix incorrect iterator use leading to prematurely exiting loops when ↵Attila Molnar
quitting users while looping the local user list
2015-02-20Change all occurrences of Inspire to InspIRCdAttila Molnar
2015-01-18Specify which Extensible subclass an ExtensionItem is valid forAttila Molnar
2014-07-19Access local user list via new UserManager::GetLocalUsers() and make ↵Attila Molnar
local_users private
2014-07-19Move and rename typedef LocalUserList to UserManager::LocalListAttila Molnar
2014-06-24Change allocation of InspIRCd::Users to be physically part of the object ↵Attila Molnar
containing it using fakederef
2014-06-24Change allocation of InspIRCd::SNO to be physically part of the object ↵Attila Molnar
containing it using fakederef
2014-06-24Change allocation of InspIRCd::Modules to be physically part of the object ↵Attila Molnar
containing it using fakederef
2014-06-24Change allocation of InspIRCd::Logs to be physically part of the object ↵Attila Molnar
containing it using fakederef
2014-06-24Change allocation of InspIRCd::Modes to be physically part of the object ↵Attila Molnar
containing it using fakederef
2014-06-14Kill needless #includes in source filesAttila Molnar
2014-06-13Make the default ProtocolInterface instance part of class InspIRCdAttila Molnar
The protocol module no longer has to delete it on load and construct it on unload, only assign a new value to ServerInstance->PI
2014-06-13Change allocation of InspIRCd::Parser to be physically part of the object ↵Attila Molnar
containing it
2014-06-13Change allocation of InspIRCd::BanCache to be physically part of the object ↵Attila Molnar
containing it
2014-06-13Pull in bancache.h from inspircd.hAttila Molnar
2014-06-13Change allocation of InspIRCd::Threads to be physically part of the object ↵Attila Molnar
containing it
2014-06-13Change allocation of InspIRCd::stats to be physically part of the object ↵Attila Molnar
containing it While at it, remove "stats" from all field names
2014-05-23Prefix all definitions in config.h to avoid potential collisions.Peter Powell
2014-04-07Merge insp20Attila Molnar
2014-03-15Change allocation of InspIRCd::Timers to be physically part of the object ↵Attila Molnar
containing it
2014-03-14Change allocation of InspIRCd::chanlist to be physically part of the object ↵Attila Molnar
containing it
2014-02-11Fix various problems detected by Clang 3.4.Peter Powell
- cidr.cpp: remove inverted_bits; unused since 9fad3ecb9215a0034bf407f192926b04cb5efaed. - cmd_stats.cpp: remove needless inversion and comparison to 0. - inspircd.cpp: remove needless comparison to 0. - socket.cpp: remove all_zero; unused since 03a1bf15b1da7643b237c22db1a478916a976ccf.
2014-02-08Change all socketengine methods to be staticAttila Molnar
2014-02-07Only compile the testsuite if INSPIRCD_ENABLE_TESTSUITE is definedAttila Molnar
2014-01-24Convert LocalUserList to an intrusively linked listAttila Molnar
2014-01-21Merge insp20Attila Molnar
2014-01-05Move server description field from TreeServer into Server; remove ↵Attila Molnar
OnGetServerDescription hook
2014-01-05Introduce Server classAttila Molnar
- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
2013-12-15Move stuff around a bit:Peter Powell
- Create FileSystem class: * Move ServerConfig::CleanFilename to FileSystem::GetFileName and rewrite. * Move ServerConfig::ExpandPath to FileSystem. * Move ServerConfig::FileExists to FileSystem. * Move ServerConfig::StartsWithWindowsDriveLetter to FileSystem. - Move FileReader to fileutils.cpp and fix documentation. - Move UserManager::DoBackgroundUserStuff to usermanager.cpp.
2013-11-21Fix a few issuesattilamolnar
- Rehash notices - Modes in CAPAB - GetTargetAndAction() not being static in m_callerid - Loading custom configuration files using --config. (@SaberUK) - ServerConfig::Read not using std::endl. (@SaberUK) - Out of date comments in opers.conf.example, issue #624
2013-09-26Improve error reporting for <security:runas{user,group}>.Peter Powell
2013-09-08Remove InspIRCd::HandleRehash functorattilamolnar
Call InspIRCd::Rehash() from cmd_rehash and from the SIGHUP handler
2013-09-08Fix a crash when running as systemd serviceChrisTX
- Fix a NULL dereference if a signal is raised in the constructor of the class InspIRCd - Resolve the parent's process exit code being SIGTERM=15 and typically not EXIT_SUCCESS thus A combination of the two caused crashes when running as systemd unit.
2013-08-30Merge insp20attilamolnar
2013-08-18m_spanningtree Propagate oper-only quit reason using METADATA, remove OPERQUITattilamolnar
2013-08-12Add <path> keys for all of the compile-time paths.Peter Powell
Also, make all paths in the config relative to their associated directory. This reverts a change in 2.0 which turned out to be a terrible idea, especially for system-wide installations.
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-04Change the syntax of FOREACH macros to be less dumb.Adam
2013-07-07Fix low risk crash when we can't determine maximum open socket count.Peter Powell
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-07-01Fix a few oversightsattilamolnar
This partially reverts e0cb6bd46fb1d804ad6adea5688c844f7e1a0f6f
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-06Move code between usermanager.(cpp|h), clarify commentsattilamolnar
Initialize clientlist and uuidlist in UserManager constructor
2013-06-06Move DoBackgroundUserStuff() and AllModulesReportReady() into UserManagerattilamolnar