aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/rsquit.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+6
|
* Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-181-1/+1
|
* 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.
* Send NOTICEs that can go to both local and remote users with ↵Gravatar Attila Molnar2016-03-011-2/+2
| | | | User::WriteRemoteNotice()
* m_spanningtree Move squit logic into TreeServer from TreeSocketGravatar Attila Molnar2014-07-281-3/+1
|
* m_spanningtree Move c2s commands out of SpanningTreeCommands to auto ↵Gravatar attilamolnar2013-09-101-0/+1
| | | | register them
* m_spanningtree Change TreeServer::GetSocket() to always return the socket ↵Gravatar attilamolnar2013-08-221-12/+6
| | | | | | | | that can be used to talk to the server The only exception is the tree root (us) which has no associated socket (NULL) Add TreeServer::IsRoot() and IsLocal() helpers
* m_spanningtree Remove SpanningTreeUtilities* fields and parametersGravatar attilamolnar2013-08-171-2/+2
|
* m_spanningtree Remove unneeded #includesGravatar attilamolnar2013-04-121-4/+0
|
* m_spanningtree RSQUIT handler: Don't reimplement sending messages to remote ↵Gravatar attilamolnar2013-04-121-19/+2
| | | | | | users Use ModuleSpanningTree::RemoteMessage instead
* Remove superfluous std::string()sGravatar attilamolnar2012-10-121-1/+1
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+15
|
* Fix some more incorrect socket useGravatar danieldg2010-03-021-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12585 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
* Remove special-case handling of SVSNICK, SVSJOIN, SVSPART; enables ↵Gravatar danieldg2010-01-021-3/+1
| | | | | | intelligent routing git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12238 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 RSQUIT/RCONNECT routingGravatar danieldg2009-09-211-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11755 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up Command constructorGravatar danieldg2009-09-131-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11707 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove CMD_LOCALONLY, enforce use of GetRouting for routed commandsGravatar danieldg2009-09-031-1/+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-2/+0
| | | | | | | | | | | | | | 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
* 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
* 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
* Fix build of m_spanningtree and display of dependency regenerationGravatar danieldg2009-09-011-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11557 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
* Update copyrights for 2009.Gravatar w00t2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix naming convention to be consistant. (cmd_ -> Command)Gravatar w00t2008-12-151-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10891 e03df62e-2008-0410-955e-edbf42e46eb7
* Match conversion stuff.Gravatar w00t2008-08-221-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10216 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert automated conversion by Special, as it (unfortunately) neglects some ↵Gravatar w00t2008-08-221-0/+1
| | | | | | details. It provides a useful start point, though, so it'll be used as the basis for the final conversion. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10215 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a lot of calls to match() and uses of wildcard.h (which doesn't exist ↵Gravatar special2008-08-221-1/+0
| | | | | | anymore) after w00t broke them. Still broken pending a few more changes (it's all w00t's fault.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10214 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix total mess of makefile dependency macros (all depending on stuff they ↵Gravatar brain2008-07-191-4/+1
| | | | | | | | | dont NEED to depend on) and fix includes in all of m_spanningtree (everything including just about everything, doesnt need to) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10046 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert m_spanningtreeGravatar aquanight2008-05-181-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9751 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert m_spanningtreeGravatar aquanight2008-05-051-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9626 e03df62e-2008-0410-955e-edbf42e46eb7
* Update syntaxGravatar w00t2008-04-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9422 e03df62e-2008-0410-955e-edbf42e46eb7
* Finally apply my patch simplifying RSQUIT. Fixes bug #452, reported by Mark. ↵Gravatar w00t2008-04-081-52/+24
| | | | | | This won't be backported. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9421 e03df62e-2008-0410-955e-edbf42e46eb7
* Wheee, mass commit! this adds const stafety, throwing a compile error if ↵Gravatar brain2008-02-201-1/+1
| | | | | | | | | anyone does: "parameters[n] = blahvar;" in a command handler etc. where they REALLY SHOULD NOT fuck with the value and should copy the pointer. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8971 e03df62e-2008-0410-955e-edbf42e46eb7
* Slight API tweak. Change Command to take char * instead of char in it's ↵Gravatar w00t2008-02-131-1/+1
| | | | | | constructor, this avoids confusion/generates a compile error if someone mixes up flags with number of params, instead of working but not working as expected in a weird manner. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8918 e03df62e-2008-0410-955e-edbf42e46eb7
* Header update: 2007 -> 2008Gravatar w00t2008-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
* Back out rsquit: wasn't meant to be committed yet.Gravatar w00t2008-01-061-25/+52
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8642 e03df62e-2008-0410-955e-edbf42e46eb7
* Add removal of BanCache entries on XLINE add/del, so we avoid out of date ↵Gravatar w00t2008-01-061-52/+25
| | | | | | responses. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8641 e03df62e-2008-0410-955e-edbf42e46eb7
* In the grand tradition of huge fucking commits:Gravatar w00t2007-10-151-2/+2
| | | | | | | | - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
* class command_t -> class Command. Whey :DGravatar w00t2007-10-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7
* First round of servername->sid stuffsGravatar brain2007-08-281-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7961 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unneeded headers from spanningtree. This was done to the rest of the ↵Gravatar w00t2007-08-281-4/+0
| | | | | | source base the other day. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7945 e03df62e-2008-0410-955e-edbf42e46eb7
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.Gravatar peavey2007-07-161-1/+123
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵Gravatar peavey2007-07-161-123/+1
| | | | | | auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #347.Gravatar brain2007-07-111-1/+0
| | | | | | | | WARNING: QA PEOPLE, THIS NEEDS TESTING!!!! Test this with lots of squits and connects, and i mean lots and lots in all different ways you can think of, /squit, pingout, closing the connection with a firewall etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7434 e03df62e-2008-0410-955e-edbf42e46eb7
* RSQUIT/SQUIT is one target only for 1.1. The multi target is going into the ↵Gravatar peavey2007-06-161-0/+2
| | | | | | 1.2 discussion. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7333 e03df62e-2008-0410-955e-edbf42e46eb7
* And truly fix rsquit 1 parm crash.Gravatar peavey2007-06-151-17/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7331 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crash on propogation after routed squit has reached it's destination. ↵Gravatar peavey2007-06-151-9/+12
| | | | | | Thx HiroP. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7330 e03df62e-2008-0410-955e-edbf42e46eb7
* Oops forgot to tidy up comments.Gravatar peavey2007-06-151-3/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7329 e03df62e-2008-0410-955e-edbf42e46eb7