summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-04-13OnUserPreJoin is a local-only hook, change User* parameter to LocalUser*attilamolnar
2013-04-13Remove the deprecated invite APIattilamolnar
2013-04-12m_spanningtree Remove unneeded #includesattilamolnar
2013-04-12m_spanningtree FJOIN handler: Refactor, update docattilamolnar
Split the core function into several smaller functions Accept userlist entries having no comma at all
2013-04-12m_spanningtree Netburst: Refactor SendChannelModes()attilamolnar
Rename it to SyncChannel() and change it to take a Channel* parameter, move iteration into DoBurst()
2013-04-12m_spanningtree Change both prefix and first parameter of SQUIT to be a SIDattilamolnar
2013-04-12m_spanningtree Remove encapsulation on UserCount/OperCountattilamolnar
2013-04-12m_spanningtree Introduce new function to send channel messagesattilamolnar
Use it from the protocol interface and PRIVMSG/NOTICE handlers Unite OnUserNotice and OnUserMessage code into LocalMessage()
2013-04-12m_spanningtree Change TreeServerList to be a set, get rid of a function ↵attilamolnar
dedicated to adding entries to it
2013-04-12m_spanningtree Utils: Move code that creates a full line from its components ↵attilamolnar
to a new function
2013-04-12m_spanningtree FTOPIC handler: Keep only one topic if the two topic ↵attilamolnar
timestamps match but the topics differ
2013-04-12m_spanningtree FTOPIC handler: Return CMD_FAILURE/CMD_INVALID as appropiateattilamolnar
Return CMD_FAILURE to prevent propagation when the topic wasn't updated; return CMD_INVALID when the topicts is invalid
2013-04-12m_spanningtree atoi() to ConvToInt() conversion, add const where possibleattilamolnar
Remove two redundant functions from Utils
2013-04-12m_spanningtree RSQUIT handler: Don't reimplement sending messages to remote ↵attilamolnar
users Use ModuleSpanningTree::RemoteMessage instead
2013-04-12m_spanningtree RCONNECT handler: Fix error reporting to remote usersattilamolnar
Describe behavior in comments
2013-04-12m_spanningtree Netburst: Rework SendFJoins()attilamolnar
Old code sent empty lines on burst after FJOINs, new version fixes that
2013-04-12m_spanningtree Netburst: Remove expiration check from SendXLines()attilamolnar
XLineManager does the checking
2013-04-12m_spanningtree UID handler: Log and drop the link when a server introduces a ↵attilamolnar
user with an unknown user mode
2013-04-12m_spanningtree UID handler: Remove dead codeattilamolnar
2013-04-12m_spanningtree FMODE handler: Reworkattilamolnar
Check for error conditions before doing any work Get rid of hardcoded maxmodes and a loop that copies a container
2013-04-12m_spanningtree IDLE handler: Rewriteattilamolnar
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-10Run OnUnloadModule hook before starting to unregister services provided by ↵attilamolnar
the module
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: Do one hash lookup in BanCacheManager::AddHit()attilamolnar
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-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-06Add the ability to deprecate config values as well as keys.Peter Powell
2013-04-06Purge the 1.1 config deprecations.Peter Powell
2013-04-05Merge pull request #472 from SaberUK/master+merge-headersAttila Molnar
Merge inspircd_{config,version}.h into a single header file.
2013-04-05Merge inspircd_{config,version}.h into a single header file.Peter Powell
2013-04-05Fixed grammar in whois output for +k'd services.Shawn Smith
2013-04-04Stop recreating hashmaps every hour, move garbage collection code related to ↵attilamolnar
local users to UserManager
2013-04-04Line ending conversionattilamolnar