aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/postcommand.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-2/+5
|
* Add the server id to the Server class.Gravatar Peter Powell2019-09-231-1/+1
|
* Get rid of CommandBuilder::push_back.Gravatar Peter Powell2019-07-191-4/+4
|
* spanningtree: Never send a message to a raw UUID in CmdBuilder.Gravatar Peter Powell2019-07-191-1/+1
|
* Fix a crash when trying to use ROUTE_TYPE_MESSAGE with no message.Gravatar Peter Powell2019-01-021-1/+4
|
* Fix message tags not being broadcast across the network.Gravatar Peter Powell2019-01-021-1/+2
|
* Amend OnPostCommand to specify whether the command is loopcalled.Gravatar Peter Powell2018-09-111-1/+1
| | | | | This restores previous behaviour which was lost when the original line parameter was removed.
* Remove the original line parameter of On{Pre,Post}Command.Gravatar Peter Powell2018-08-101-1/+1
| | | | | | | | | In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do.
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-2/+2
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Merge insp20Gravatar Attila Molnar2016-08-171-1/+1
|\
| * Minor spelling errors in m_spanningtree.soGravatar Guillaume Delacour2016-02-281-1/+1
| |
* | m_spanningtree Use SpanningTreeUtilities::FindRouteTarget() in RouteCommand()Gravatar Attila Molnar2016-03-291-1/+3
| | | | | | | | This makes ROUTE_UNICAST() accept nicks and uuids
* | Reduce std::string::substr() usageGravatar Attila Molnar2015-01-101-1/+1
| | | | | | | | substr() returns a new string while erase() and assign() modify the existing one
* | m_spanningtree Fix routing of unicast messagesGravatar Attila Molnar2014-04-141-10/+16
| |
* | m_spanningtree Fix routing of ROUTE_TYPE_MESSAGE messagesGravatar Attila Molnar2014-01-211-1/+1
| |
* | Introduce Server classGravatar Attila Molnar2014-01-051-1/+1
| | | | | | | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* | m_spanningtree Introduce command buildersGravatar attilamolnar2013-08-271-15/+12
| |
* | m_spanningtree Remove duplicate code for sending channel messages from ↵Gravatar attilamolnar2013-08-221-13/+2
| | | | | | | | RouteCommand()
* | m_spanningtree Implement DoOneToMany() using DoOneToAllButSender()Gravatar attilamolnar2013-08-221-8/+2
| |
* | m_spanningtree Move all server-to-server command handlers into handler classesGravatar attilamolnar2013-08-181-1/+1
| | | | | | | | These commands are not registered in or called by the core. When looking for the handler of a command a new command table is searched first which contains all server-to-server commands. If a handler cannot be found in there, the core command table is consulted.
* | Remove $ModDep commentsGravatar attilamolnar2013-08-151-2/+0
| |
* | Change modules to use the MODNAME constant when logging.Gravatar Peter Powell2013-08-041-2/+2
| | | | | | | | | | | | | | | | The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them.
* | Rewrite CommandParser::TranslateUIDs()Gravatar attilamolnar2013-06-131-2/+1
| |
* | Implement GetRouting() in core commands that require it, remove ugly ↵Gravatar attilamolnar2013-06-121-9/+1
| | | | | | | | workaround from spanningtree RouteCommand()
* | Change command name parameter of OnPostCommand to be a Command*Gravatar attilamolnar2013-06-121-8/+3
| |
* | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-2/+2
| |
* | m_spanningtree Remove unneeded #includesGravatar attilamolnar2013-04-121-7/+1
| |
* | m_spanningtree Change TreeServerList to be a set, get rid of a function ↵Gravatar attilamolnar2013-04-121-1/+1
| | | | | | | | dedicated to adding entries to it
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-2/+2
|/
* Remove usage of deprecated CallCommandHandler() and IsValidModuleCommand()Gravatar attilamolnar2012-11-191-2/+2
|
* m_spanningtree Fix desync issue #37 reported by @Joah - part 2Gravatar attilamolnar2012-05-311-7/+7
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+15
|
* ERROR is not a valid log level, so all these messages were getting droppedGravatar danieldg2010-01-191-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12304 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't refuse to route internal spanningtree commands due to lack of VF_COMMONGravatar danieldg2010-01-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12299 e03df62e-2008-0410-955e-edbf42e46eb7
* PreCommand/PostCommand are local-only hooksGravatar danieldg2010-01-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12291 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Make User::uuid and User::server constGravatar danieldg2009-10-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7
* Update Event and Request APIsGravatar danieldg2009-10-081-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix routing for normal core commands like QUITGravatar danieldg2009-10-021-1/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11795 e03df62e-2008-0410-955e-edbf42e46eb7
* Add ROUTE_TYPE_MESSAGE and use for PRIVMSG/NOTICE routingGravatar danieldg2009-10-011-8/+70
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11791 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove CMD_LOCALONLY, enforce use of GetRouting for routed commandsGravatar danieldg2009-09-031-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11671 e03df62e-2008-0410-955e-edbf42e46eb7
* Change cmd_*.so to use the Module object APIGravatar danieldg2009-09-031-3/+7
| | | | | | | | | | | | | | Create Module* objects for each command, and load them like modules. This unifies the external API for modules. Library directory is now deprecated: all modules are located in a single module directory. Header files for each command are no longer needed; remove. This also fixes two potential segfaults in m_spanningtree. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11668 e03df62e-2008-0410-955e-edbf42e46eb7
* Remote user messaging fixesGravatar danieldg2009-09-021-1/+8
| | | | | | | | Add format string output to DumpText Fix PI->PushToClient prefixing issue Fix ENCAP routing to use SID rather than server name git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11658 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Module* creator to Command and ModeHandlerGravatar danieldg2009-09-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow commands to optionally route themselves using ENCAPGravatar danieldg2009-09-021-10/+28
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11602 e03df62e-2008-0410-955e-edbf42e46eb7
* Include explicit routing information in Command, will replace CMD_LOCALONLY ↵Gravatar danieldg2009-09-021-51/+23
| | | | | | return value git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11601 e03df62e-2008-0410-955e-edbf42e46eb7
* Replace std::deque with std::vector in spanningtree and related modulesGravatar danieldg2009-09-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11593 e03df62e-2008-0410-955e-edbf42e46eb7
* Verify modules providing routed commands are VF_COMMONGravatar danieldg2009-09-021-0/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11590 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix build of m_spanningtree and display of dependency regenerationGravatar danieldg2009-09-011-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11557 e03df62e-2008-0410-955e-edbf42e46eb7
* rollback r11326, we're going to make vc9 the officially supported windows ↵Gravatar peavey2009-04-231-1/+1
| | | | | | build methods since the few of us doing win dev can't keep up maintaining the others. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11327 e03df62e-2008-0410-955e-edbf42e46eb7