summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2014-01-05Introduce Server classAttila Molnar
- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
2014-01-05Improve UserManager::QuitUser() and related codeAttila Molnar
- Make operreason optional; NULL means same as quitreason - Remove User::quietquit, it is now handled internally in spanningtree - Send snotice about quitting remote users from spanningtree
2014-01-04Change type of snomask parameter to char in ProtocolInterface::SendSNONotice()Attila Molnar
2014-01-04Add functor that does strict weak ordering based on ↵Attila Molnar
national_case_insensitive_map
2014-01-04Fix some Windows-related problems.Peter Powell
- Fix an error relating to the unavailability of std::back_inserter. - Fix loading configuration files when using relative paths. - Fix two methods in hashcomp being exported twice. - Remove some unimportant error messages.
2013-12-19Add m_ldap, and convert m_ldapoper and m_ldapauth to use it.Adam
2013-12-18Clean up CoreExceptionAttila Molnar
- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs
2013-12-18Remove unused motd and rules field from ServerConfigAttila Molnar
2013-12-15Make various self contained methods static.Peter Powell
- InspIRCd::IsValidMask - InspIRCd::TimeString
2013-12-15Remove some pointless code:Peter Powell
- Remove the CHARSET entry from ISUPPORT. CHARSET was removed in draft-brocklesby-irc-isupport-03 and we always used the default value anyway. This has also been removed in the latest version of Charybdis. - Remove irc::sockets::satouser. This helper method was longer than the code it replaced.
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-12Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Adam
automatically
2013-11-09Fix PrefixMode not being exported which caused runtime link errors.Peter Powell
2013-09-14Fix ConvToStr(char)attilamolnar
2013-09-13Fix a shadow warning created by ConfigTag::createChrisTX
2013-09-13Pass an interface to the OnSync hooksattilamolnar
Remove Module::ProtoSendMetaData()
2013-09-13Split ProtocolInterface::SendMetaData() into multiple functionsattilamolnar
2013-09-12Send ListModeBase modes implicitly on channel syncattilamolnar
Remove Module::ProtoSendMode() and ListModeBase::DoSyncChannel()
2013-09-12Keep lists of mode handlers by typeattilamolnar
2013-09-12Add ModeHandler::IsListModeBase() and MC_LISTattilamolnar
2013-09-11Move prefix mode specific fields and getters into PrefixModeattilamolnar
Add ModeHandler::IsPrefixMode()
2013-09-11Create a base class for prefix modesattilamolnar
Move Channel::SetPrefix() into Membership
2013-09-11Add a type id field to ModeHandlerattilamolnar
2013-09-08Hide all symbols that aren't exported explicitlyattilamolnar
In addition to reducing the sizes of all binaries this also helps the optimizer
2013-09-08Remove InspIRCd::HandleRehash functorattilamolnar
Call InspIRCd::Rehash() from cmd_rehash and from the SIGHUP handler
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-09-08Deduplicate code in modmanager_static and modmanager_dynamicattilamolnar
2013-09-08Remove ModuleManager::ModCount and GetCount()attilamolnar
2013-09-08Fix module loading in PURE_STATIC buildsattilamolnar
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-30Remove ModuleManager::GetAllModuleNames(), use GetModules() insteadattilamolnar
2013-08-30Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵attilamolnar
and on rehash This eliminates the need for calling OnRehash() in init()
2013-08-30Merge insp20attilamolnar
2013-08-30Don't CoreExport reference, fixes m_dnsbl on Windowsattilamolnar
The explicit instantiations of reference are now useless; remove
2013-08-27Fix Windows build and a few more problemsattilamolnar
2013-08-27Fix various small issues.Peter Powell
- Add CXX11_OVERRIDE to *Regex::Matches and *RegexFactory::Create. - Fix documentation comment on regex_string. - Fix various code duplication/layout issues.
2013-08-27Make all regex modules throw the same exception on error.Peter Powell
2013-08-25Clean up the protocol interfaceattilamolnar
2013-08-18Create the CommandBase class from Commandattilamolnar
The Handle() method is not part of CommandBase, making it possible to provide a different Handle() in each class derived from CommandBase
2013-08-18m_spanningtree Propagate oper-only quit reason using METADATA, remove OPERQUITattilamolnar
2013-08-13Store oper types and opers in separate containersattilamolnar
2013-08-12Clean up a few constructorsattilamolnar
Do not silently correct a zero TS in Channel::Channel(); require callers to supply a valid TS instead
2013-08-12cmd_whowas Major cleanup, fix inefficienciesattilamolnar
2013-08-12Add ConfigTag::getDuration() with optional bounds checkingattilamolnar
2013-08-12Clean up wildcard code.Peter Powell
- Move references and pointers next to the type. - Rename match_internal to MatchInternal. - Remove duplicate NULL check on map in MatchCIDR.
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-10Rename <options:moronbanner> to <options:xlinemessage>.Peter Powell
This name is more descriptive of what is actually is used for.
2013-08-10Replace range() with min and max arguments on getInt().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