summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Whoops, wrong linfeed type on ADDLINE in netburstGravatar brain2006-10-281-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5569 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow admins to set the socket timeout on server connectionsGravatar brain2006-10-281-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5566 e03df62e-2008-0410-955e-edbf42e46eb7
* Give this one a go dotslasher, apply to ALL serversGravatar brain2006-10-281-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5565 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't display this notice on an empty servername (which will happen if an ↵Gravatar w00t2006-10-261-1/+3
| | | | | | incoming connection fails), confusing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5540 e03df62e-2008-0410-955e-edbf42e46eb7
* More missing spaces (and unbreak compile)Gravatar w00t2006-10-231-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5537 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug experienced by satmd, remove space indents + tidy a littleGravatar w00t2006-10-231-4/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5536 e03df62e-2008-0410-955e-edbf42e46eb7
* Buffer more stuff up for each write by putting it into larger blocksGravatar brain2006-10-221-23/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5518 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix sending bans on sync:Gravatar brain2006-10-221-2/+12
| | | | | | | | * Dont cram them after +jfJLlk parameters * Limit them to MAXMODES per line git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5514 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix counts on spanningtree reload (this made /map look really odd)Gravatar w00t2006-10-211-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5510 e03df62e-2008-0410-955e-edbf42e46eb7
* Got it! I am teh 1337.Gravatar brain2006-10-211-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5508 e03df62e-2008-0410-955e-edbf42e46eb7
* Tiny tweakGravatar brain2006-10-211-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5506 e03df62e-2008-0410-955e-edbf42e46eb7
* Const refsGravatar brain2006-10-201-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5505 e03df62e-2008-0410-955e-edbf42e46eb7
* References and stuffGravatar brain2006-10-191-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5503 e03df62e-2008-0410-955e-edbf42e46eb7
* More stuff changed to const refGravatar brain2006-10-191-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5502 e03df62e-2008-0410-955e-edbf42e46eb7
* Const ref frenzy!Gravatar brain2006-10-191-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5501 e03df62e-2008-0410-955e-edbf42e46eb7
* Const ref frenzy!Gravatar brain2006-10-191-26/+26
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5500 e03df62e-2008-0410-955e-edbf42e46eb7
* OptimizationsGravatar brain2006-10-191-6/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5499 e03df62e-2008-0410-955e-edbf42e46eb7
* Improve WriteLine, this should be quite an improvement as it prevents a ↵Gravatar brain2006-10-191-1/+2
| | | | | | temporary allocation and deallocation for every call to Write() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5498 e03df62e-2008-0410-955e-edbf42e46eb7
* Use rfind rather than find when chopping strings, its faster as the \r is ↵Gravatar brain2006-10-191-2/+6
| | | | | | more likely to be at the end of the sequence not the start git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5497 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unused large varsGravatar brain2006-10-191-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5496 e03df62e-2008-0410-955e-edbf42e46eb7
* Remember to delete the tree root when unloading the moduleGravatar brain2006-10-171-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5495 e03df62e-2008-0410-955e-edbf42e46eb7
* Move the declaration of class Link up topGravatar brain2006-10-171-21/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5494 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, forgot to init a varGravatar brain2006-10-171-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5493 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove culllist.h from here, we no longer use it.Gravatar brain2006-10-171-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5492 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove another 'using' for a symbol we use only onceGravatar brain2006-10-171-3/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5491 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a ton of comments to make this much more useful now (putting it all in a ↵Gravatar brain2006-10-171-10/+58
| | | | | | | | | class essentially forward-declares the lot and gives opportunity to comment) remove 'using namespace std' which we dont need. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5490 e03df62e-2008-0410-955e-edbf42e46eb7
* Brain->GoToTownOnThisModule().Gravatar brain2006-10-171-158/+84
| | | | | | | There is now NOTHING in the global namespace in this module. it's all passed around by class pointers, keeping the exported namespace clean git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5489 e03df62e-2008-0410-955e-edbf42e46eb7
* Finally take ServerInstance out of the global scope in this module, amongst ↵Gravatar brain2006-10-171-254/+269
| | | | | | | | | a ton of other stuff. Put it all into a class called SpanningTreeUtilities and pass this class around when constructing new objects. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5488 e03df62e-2008-0410-955e-edbf42e46eb7
* Document more classesGravatar brain2006-10-061-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5435 e03df62e-2008-0410-955e-edbf42e46eb7
* Document a ton of classes (e.g. give them a short description for ↵Gravatar brain2006-10-061-0/+2
| | | | | | http://svn.inspircd.org/docs/annotated.html) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5434 e03df62e-2008-0410-955e-edbf42e46eb7
* Report invalid command name when invalid command is given in negotiation phaseGravatar brain2006-10-051-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5424 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove some annoying debugGravatar brain2006-10-051-6/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5423 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed freeing of bound sockets when unloading spanningtreeGravatar brain2006-10-051-3/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5422 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove VF_STATIC from spanningtree and make a clever destructor to close and ↵Gravatar brain2006-10-051-1/+23
| | | | | | free all its open sockets. In theory this will make insp split from everything neatly when you unload spanningtree. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5418 e03df62e-2008-0410-955e-edbf42e46eb7
* Add <options:announcets> to output the "TS for #chan changed from 1111 to 2222".Gravatar brain2006-10-051-1/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5417 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for non-existent channel in FMODEGravatar brain2006-10-041-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5415 e03df62e-2008-0410-955e-edbf42e46eb7
* Nickname collisions were broken! :OGravatar brain2006-10-041-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5410 e03df62e-2008-0410-955e-edbf42e46eb7
* Someone review the comments i put in from line 1515 onwards, and see if ↵Gravatar brain2006-10-031-8/+72
| | | | | | theyre legible and make FJOIN understandable? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5407 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidyup (remove casts) and commenting FJOIN a lot, so that others can fix ↵Gravatar brain2006-10-031-24/+67
| | | | | | stuff that breaks (if it breaks) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5406 e03df62e-2008-0410-955e-edbf42e46eb7
* Fake direction check in FJOIN on all users, plus tidyup of the code that ↵Gravatar brain2006-10-031-7/+22
| | | | | | forms the modeline for giving them their privilages git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5405 e03df62e-2008-0410-955e-edbf42e46eb7
* Seems to work nowGravatar brain2006-10-021-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5400 e03df62e-2008-0410-955e-edbf42e46eb7
* mmmm dinner break, oh and document and make use of modestacker.Gravatar brain2006-10-021-20/+25
| | | | | | | Someone test this, i cant as im at work. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5395 e03df62e-2008-0410-955e-edbf42e46eb7
* Add r5381 fix to remote rehash tooGravatar w00t2006-10-021-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5382 e03df62e-2008-0410-955e-edbf42e46eb7
* This ULine check looks really, really bad - and caused horrible things to ↵Gravatar w00t2006-10-021-1/+2
| | | | | | happen (equal TS wasn't merged, causing infinite loops.). I think removing it is the solution, Brain, please verify when you wake up. Seems to fix it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5380 e03df62e-2008-0410-955e-edbf42e46eb7
* It all came down to a >1 where we needed a >0. Things should be stable now jamieGravatar brain2006-10-011-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5375 e03df62e-2008-0410-955e-edbf42e46eb7
* Now with binary versioning goodnessGravatar brain2006-10-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7
* Cleaned up FJOIN a bit, fixing another segfault in the process. Brain should ↵Gravatar special2006-09-281-13/+12
| | | | | | take a look at this and see if there are any subtle bugs in how it works, since its trackrecord isn't great :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5355 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed another segfault in m_spanningtree's FJOIN (forgot to check if the ↵Gravatar special2006-09-281-3/+2
| | | | | | channel existed before setting its TS) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5354 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug found by giggsey (even though he doesnt realise he just found one)Gravatar brain2006-09-261-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5340 e03df62e-2008-0410-955e-edbf42e46eb7
* make OnPostConnect globalGravatar brain2006-09-261-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5339 e03df62e-2008-0410-955e-edbf42e46eb7