summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-06-14Kill needless #includes in source filesAttila Molnar
2014-06-14m_spanningtree Remove declaration for nonexistent function: OnLine()Attila Molnar
2014-06-14m_spanningtree Use vector back() where it makes senseAttila Molnar
2014-06-14m_spanningtree Initialize boolean member variables in the constructor of the ↵Attila Molnar
module
2014-06-14m_spanningtree Initialize TreeServer::UserCount for TreeRoot in its constructorAttila 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-13m_spanningtree Change allocation of the specialized ProtocolInterface to be ↵Attila Molnar
physically part of ModuleSpanningTree
2014-06-13Change allocation of InspIRCd::Parser to be physically part of the object ↵Attila Molnar
containing it
2014-06-13Remove global Commandtable typedefAttila Molnar
2014-06-13Add CommandParser::GetCommands() and typedef CommandMap and use it instead ↵Attila Molnar
of directly accessing cmdlist
2014-06-13Use CommandParser::GetHandler() in ServerConfig::ApplyDisabledCommands()Attila Molnar
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-13Move the definition of the BanCacheHit constructor into the source file from ↵Attila Molnar
the header
2014-06-13Change allocation of BanCacheManager::BanHash to be physically part of the ↵Attila Molnar
object containing it
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-06-12m_spanningtree Explicitly specify the routing for RESYNC as the one ↵Attila Molnar
inherited from ServerCommand doesn't suit it Command::GetRouting() defaulted to local only when RESYNC was added, but ServerCommand overrides it.
2014-06-11m_spanningtree Strip membership id from KICKs sent to 1202 protocol serversAttila Molnar
2014-06-11Send the membership id when kicking a remote user and drop KICKs with ↵Attila Molnar
mismatching membership ids This fixes the desync happening when a PART+JOIN crosses a KICK targetting the same user.
2014-06-11m_spanningtree Strip membership ids from FJOINs sent to 1202 protocol serversAttila Molnar
2014-06-11m_spanningtree Send and parse FJOINs with membership idsAttila Molnar
2014-06-11m_spanningtree Add CmdBuilder::push_raw_int()Attila Molnar
2014-06-11m_spanningtree Use the FJOIN builder when a channel is createdAttila Molnar
2014-06-11m_spanningtree Add CmdBuilder specialization for FJOINAttila Molnar
2014-06-11m_spanningtree Send, parse and translate IJOINs with membership idsAttila Molnar
2014-06-11m_spanningtree Assign an id to new MembershipsAttila Molnar
2014-06-11m_spanningtree Initialize membership ids on loadAttila Molnar
2014-06-10Return the newly created Membership object from Channel::ForceJoin()Attila Molnar
2014-06-10Add channel TS to server-to-server INVITE to detect and drop unauthorized ↵Attila Molnar
invites The syntax of the server-to-server INVITE command changes from :<source> INVITE <target> <channel> [<expire>] to :<source> INVITE <target> <channel> <chants> [<expire>]
2014-06-10m_spanningtree Allow callers of InsertCurrentChannelTS() to customize positionsAttila Molnar
2014-06-10cmd_kick Assign a value to the kick reason string more reasonablyAttila Molnar
2014-06-10Use the iterator version of Channel::KickUser() in a few placesAttila Molnar
2014-06-10Change Channel::KickUser() to accept an iterator, add overload that accepts ↵Attila Molnar
a User Remove srcmemb parameter
2014-06-10Move pre-kick checks from core to cmd_kick (core_channel)Attila Molnar
2014-06-09m_remove Make the protected rank configurable instead of hardcoding it to 50000Attila Molnar
Change type of ulevel and tlevel to unsigned int
2014-06-09m_remove Recognize /REMOVE <chan> <nick>Attila Molnar
The old syntax is now deprecated Fixes issue #860 reported by @Shawn-Smith
2014-06-09m_remove Manually forward all REMOVE messages, turn FPART into REMOVEAttila Molnar
2014-06-09Use std::find() in ParseStack::ParseFile()Attila Molnar
2014-06-09Deduplicate ParseStack::ParseFile() and ParseExec()Attila Molnar
2014-06-07m_ssl_openssl Remove unused MAX_DESCRIPTORS defineAttila Molnar
2014-06-07Change the number reported by SocketEngine::GetMaxFds() to be informalAttila Molnar
Do not exit if we can't determine it
2014-06-07socketengine_epoll Pass a dummy value to epoll_create() that does not depend ↵Attila Molnar
on GetMaxFds() From man epoll: Since Linux 2.6.8, the size argument is unused, but must be greater than zero. (The kernel dynamically sizes the required data structures without needing this initial hint.)
2014-06-07Relax fd bounds checkingAttila Molnar
We can cope with fds greater than SocketEngine::GetMaxFds() since 3752b3f59d5216d7dc6221a361efc76b9ad2273d
2014-06-07m_channames Remove temporary vector from ValidateChans()Attila Molnar
2014-06-07m_channames Call ValidateChans() from cull() on unloadAttila Molnar
This ensures that if ValidateChans() removes everyone from a channel the channel is added to the cull list at the right time, that is, before the destruction of objects begin. The core IsChannel() is less strict than us regardless of our configuration (for now) but nevertheless this is the correct behavior.
2014-05-28m_ident Close the ident socket when the object is culled instead of using hooksAttila Molnar
2014-05-28m_ident Make use of the min parameter of ConfigTag::getInt()Attila Molnar
2014-05-28m_ident: Add an option to allow idents of users to still be prefixed with a ↵Robby-
'~' for connect classes which have disabled ident lookups through the <connect:useident> setting. Fixes #683. Some changes by @attilamolnar, original PR #684
2014-05-26m_ssl_gnutls Don't include cap.hAttila Molnar
The tls cap is handled by m_starttls