summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2013-04-12Tidy up source files:Peter Powell
- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
2013-04-12Add LOG_ prefix to the log level enum values.Peter Powell
2013-04-11Convert ISUPPORT to use a map instead of a string.Peter Powell
2013-04-11Fix clang warning about IsOper()attilamolnar
2013-04-10BanCache: Move expiration code into a function, call it from RemoveEntries()attilamolnar
2013-04-10BanCache: Remove BanCacheManager::RehashCache()attilamolnar
The function was never called
2013-04-10BanCache: Simplify BanCacheManager::RemoveEntries()attilamolnar
2013-04-10BanCache: Remove BanCacheHit::IP field, and BanCacheManager::RemoveHit()attilamolnar
The IP field was only used in RemoveHit(), RemoveHit() was only called from GetHit()
2013-04-10BanCache: Don't repeat ourselves, one BanCacheManager::AddHit() and one ↵attilamolnar
BanCacheHit constructor is enough
2013-04-10Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()attilamolnar
2013-04-09Fix ListModeBase on Windowsattilamolnar
2013-04-09Move most whois related code from the core into cmd_whoisattilamolnar
2013-04-09XLine: Provide a default implementation for DisplayExpiry()attilamolnar
2013-04-08ListModeBase: Cache max items per channelattilamolnar
2013-04-08ListModeBase: Minor changes to original u_listmode codeattilamolnar
- Add constructors to ListItem, ListLimit - Rename fields in ListItem - Store time as time_t instead of string - Store limits in a vector instead of a list - Don't deallocate the list when it becomes empty
2013-04-08Migrate u_listmode.h into the core, change +b to use itattilamolnar
2013-04-08Add builtin modes using AddService()attilamolnar
2013-04-08Unite include/modes/*.h into include/builtinmodes.hattilamolnar
2013-04-08Allow dynamic references to reference ServiceProviders, introduce ModeReferenceattilamolnar
Mode handlers can be referenced using mode/<modename>
2013-04-08Rework dynamic_reference management, introduce dynamic_reference_nocheckattilamolnar
New dynamic references are now resolved at construction and all of them are re-resolved when a relevant service is added or removed; resolution is no longer done in operator-> dynamic_reference_nocheck is a variant of dynamic_reference that does not check for value being null in operator-> / operator* dynamic_reference still throws an exception when used in this case Both kinds of dynamic references support .check(): an exception is thrown if this is called when value is null
2013-04-08Remove OnAddBan and OnDelBan hooksattilamolnar
2013-04-06Default to the XML config format.Peter Powell
2013-04-05Merge inspircd_{config,version}.h into a single header file.Peter Powell
2013-04-04Stop recreating hashmaps every hour, move garbage collection code related to ↵attilamolnar
local users to UserManager
2013-04-04Move whowas settings into cmd_whowas from ConfigReaderattilamolnar
2013-04-04Make cmd_whowas act like a module, remove special handlingattilamolnar
2013-04-03Convert InspIRCd::Duration() to be staticattilamolnar
2013-04-01Whitespace and empty destructor removal, minor coding style changesattilamolnar
2013-04-01Merge pull request #452 from SaberUK/master+nuke-hashmapAttila Molnar
Purge the deprecated hash_map from existance.
2013-04-01Move member variables from User to LocalUserattilamolnar
- idle_lastmsg - dns_done - quitting_sendq - exempt - lastping
2013-04-01Change IsNickHandler()/IsIdentHandler()/IsChannelHandler() to use C++ ↵attilamolnar
strings as arguments instead of C strings
2013-04-01Convert IsSID() to a static member function, modules shouldn't override itattilamolnar
2013-04-01Remove more deprecated codeattilamolnar
- ConfigReader - FloodQuitUserHandler - IsValidModuleCommand - CallCommandHandler - DoCleanup from u_listmode.h
2013-04-01Merge pull request #454 from SaberUK/master+misc-improvementsAttila Molnar
Purge dead code and deprecated types.
2013-04-01Purge references to the deprecated GetStackedLine method.Peter Powell
2013-04-01Purge the deprecated chanprotect module.Peter Powell
2013-04-01Remove some dead code:Peter Powell
- Conditions in m_httpd_stats which can never be true. - Commented out code in m_sqloper. - Unused macro in inspircd.h.
2013-04-01Add macro for marking methods as deprecated.Peter Powell
2013-04-01Purge the deprecated hash_map from existance.Peter Powell
2013-04-01Change channel name parameter of Module::OnUserPreJoin() and ↵attilamolnar
Channel::JoinUser() to std::string from char*
2013-03-31Rewrote caller.h to be more C++11 ish, currently commented out pending ↵Adam
whenever we decide to support some C++11 features
2013-04-01New API versionattilamolnar
2013-04-01Change User::GetIPString() to return const std::string&attilamolnar
2013-04-01Remove legacy code, mostly related to 1.2 compatibilityattilamolnar
2013-03-20Add support for mandatory tags in included config filesattilamolnar
If the mandatory tag is not found in the included config, the rehash is aborted. This is especially useful for remote includes, as it allows users to have a dummy tag at the end of the included config to indicate that the config has been wholly read. This method does not depend on exit codes so even situations where wget returns an empty or a wrong page that we would otherwise accept can be detected and an error can be generated before we assume that the contents have disappeared (and unload all modules, if the included file is supposed to contain module tags, for example). Usage: <include ... mandatorytag="namehere"> - if the included config doesn't contain a <namehere> tag then the rehash is aborted Fixes #30 reported by @Justasic
2013-03-11Remove dead code from DNSattilamolnar
2013-03-11Fix m_dnsbl not checking cgiirc users when the cgiirc address is elinedattilamolnar
2013-01-28Use the preprocessor to detect whether hash_map is available.Peter Powell
2013-01-16Fix warning: "const type qualifier on return type has no effect".Peter Powell
2012-12-25Include <list> in base.h to prevent build errors on OpenBSD.Peter Powell