summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/protocolinterface.h
AgeCommit message (Collapse)Author
2020-01-11Update copyright headers.InspIRCd Robot
2018-07-26Use CommandBase::Params instead of std::vector<std::string>.Peter Powell
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
2017-07-12Add CXX11_OVERRIDE to overridden members that lack it.Peter Powell
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
2016-03-30Remove unused ProtocolInterface::SendTopic()Attila Molnar
2016-03-30Remove ProtocolInterface::PushToClient()Attila Molnar
2014-09-03Remove ProtocolInterface::SendMode()Attila Molnar
2014-01-26Add ProtocolInterface::BroadcastEncap() and infrastructure for manually ↵Attila Molnar
forwarding ENCAPs
2014-01-26ProtocolInterface::SendEncapsulatedData() changesAttila Molnar
- Pass command name and destination as real parameters - Allow callers to specify the command source - Send a SID instead of a server name if the target is a single server
2014-01-04Change type of snomask parameter to char in ProtocolInterface::SendSNONotice()Attila Molnar
2013-09-13Pass an interface to the OnSync hooksattilamolnar
Remove Module::ProtoSendMetaData()
2013-09-13Split ProtocolInterface::SendMetaData() into multiple functionsattilamolnar
2013-08-25Clean up the protocol interfaceattilamolnar
2013-06-13Introduce ModeProcessFlags, can be passed to ModeParser::Process() to ↵attilamolnar
indicate local only mode changes and mode merges Change ProtocolInterface::SendMode() to take source and destination parameters, and call it from the mode parser whenever the mode change is global This deprecates the ambiguous InspIRCd::SendMode() and InspIRCd::SendGlobalMode() interface (the latter sent mode changes originating from local users twice, etc.)
2013-05-15Tidy up keywords on module methods.Peter Powell
- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it.
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-02-01Remove unused variables detected by Clang 4.2.Peter Powell
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2012-04-14Fix some of the include guard names (requested by SaberUK)Justin Crawford
2012-04-14Fixes for bug #12Justin Crawford
2010-02-18Allow SASL messages to be targeted at the services serverdanieldg
<sasl target="services.example.net"> will avoid broadcasting all authentication messages across the network, which improves security. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12494 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-03Move MODENOTICE command to a command moduledanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11991 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26Remove InspIRCd* parameters and fieldsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02MetaData reworkdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11607 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Remove unneeded ProtocolInterface::Introducedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11600 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Replace std::deque with std::vector in spanningtree and related modulesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11593 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-07Include explicit parameter list in ProtocolInterface::SendModedanieldg
Also leave the strings split into deque, there's no need to pack it into a string just to unpack it during the translate. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11181 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25As we have an enum for type, why not ..use it?w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10710 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25Nuke space indents from orbit. (die!!)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10703 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-01Add ProtocolInterface::Introduce() to prevent confusion over event ordering, ↵brain
and allow for more flexible protocol use git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9827 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08Add call to protocol interface to get useful info on the server map. Return ↵brain
a std::list of classes each of which has a server name, parent server name, user and oper count, and latency in millisecs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9673 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-17Remove SpanningTreeProtocolInterface::SendOperNotice - it was translated to ↵w00t
a SendSNONotice 'A' anyway, and only used by SAMODE, which duplicated it with a SendSNONotice 'A' also anyhow o.o - this means OPERNOTICE is now gone from protocol 1200, and SNONOTICE should be used instead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9530 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Remote server PRIVMSG/NOTICE to nickname supportbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9314 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Add protocol api functions: PI->WriteChannelPrivmsg() and ↵brain
PI->WriteChannelNotice() - sends with SID origin over network git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9308 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04The rest of the server protocol interface and fix a warning in m_rlinebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9299 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Add basic stuff for protocol interface and implement a couple of the ↵brain
methods. It's all in ServerInstance->PI for calls from other modules/the core git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9297 e03df62e-2008-0410-955e-edbf42e46eb7