summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
AgeCommit message (Collapse)Author
2006-11-11Add irc::portparser, a class to parse port ranges in the form ↵brain
"6660,6661,6662-6669,7000". Needs testing, watch next few commits. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5690 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11Support hybrid-style port ranges in spanningtree, toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5687 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Add fix for patch #166 (this is a reasonably big one)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5679 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Add gline type, and <filter:duration> value to say how long to ban for.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5666 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-06Fixed broken syncing for glines and elines using idents - thanks to ↵special
dotslasher for finding and peaveydk for finding the fix git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5661 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-05Modified the server-to-server TIME command to report the real time (without ↵special
delta), and display the delta in the output from m_alltime git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5657 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-05Made the 'force' parameter to BURST and TIMESET uppercase to satisfy the ↵special
pedantic brain git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5651 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-05Added the <options:notimesync> flag to disable time syncingspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5650 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-05Added time syncing! This is fairly simple - servers exchange timestamps and ↵special
use the lowest - but should get rid of the annoying bounces for those of us who can't depend on ntpd. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5649 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-04one line tweak, if the prefix is empty, dont echo 'unknown prefix' to the ↵brain
debug log git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5648 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01Added the send_push event to m_spanningtree (send raw text to a remote user)special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5624 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01New events for special. Event id's "new_server" and "lost_server". The data ↵brain
is a pointer to a char* containing the server name. Eventally, i might expand this to include more data about the server such as its 'gecos' field etc, but not just yet. Let me know what data you want first. Event source is valid and will point at the protocol module. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5623 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31Fix broken notice (relatively minor, the notice can be turned off)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5616 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28Whoops, wrong linfeed type on ADDLINE in netburstbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5569 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28Allow admins to set the socket timeout on server connectionsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5566 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28Give this one a go dotslasher, apply to ALL serversbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5565 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-26Don't display this notice on an empty servername (which will happen if an ↵w00t
incoming connection fails), confusing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5540 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23More missing spaces (and unbreak compile)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5537 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23Fix bug experienced by satmd, remove space indents + tidy a littlew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5536 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22Buffer more stuff up for each write by putting it into larger blocksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5518 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22Fix sending bans on sync:brain
* 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
2006-10-21Fix counts on spanningtree reload (this made /map look really odd)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5510 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-21Got it! I am teh 1337.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5508 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-21Tiny tweakbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5506 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-20Const refsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5505 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19References and stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5503 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19More stuff changed to const refbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5502 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19Const ref frenzy!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5501 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19Const ref frenzy!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5500 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19Optimizationsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5499 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19Improve WriteLine, this should be quite an improvement as it prevents a ↵brain
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
2006-10-19Use rfind rather than find when chopping strings, its faster as the \r is ↵brain
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
2006-10-19Remove unused large varsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5496 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-17Remember to delete the tree root when unloading the modulebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5495 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-17Move the declaration of class Link up topbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5494 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-17Whoops, forgot to init a varbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5493 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-17Remove culllist.h from here, we no longer use it.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5492 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-17Remove another 'using' for a symbol we use only oncebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5491 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-17Add a ton of comments to make this much more useful now (putting it all in a ↵brain
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
2006-10-17Brain->GoToTownOnThisModule().brain
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
2006-10-17Finally take ServerInstance out of the global scope in this module, amongst ↵brain
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
2006-10-06Document more classesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5435 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Document a ton of classes (e.g. give them a short description for ↵brain
http://svn.inspircd.org/docs/annotated.html) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5434 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-05Report invalid command name when invalid command is given in negotiation phasebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5424 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-05Remove some annoying debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5423 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-05Fixed freeing of bound sockets when unloading spanningtreebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5422 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-05Remove VF_STATIC from spanningtree and make a clever destructor to close and ↵brain
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
2006-10-05Add <options:announcets> to output the "TS for #chan changed from 1111 to 2222".brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5417 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-04Check for non-existent channel in FMODEbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5415 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-04Nickname collisions were broken! :Obrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5410 e03df62e-2008-0410-955e-edbf42e46eb7