summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
AgeCommit message (Collapse)Author
2008-04-06Fix fake direction in TOPIC, you cant use a uuid as a command origin in the ↵brain
send functions git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9393 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Its ok to allow remote map to non-opers now, found the real culpritbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9392 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Fix bug where OPERTYPE does not propogate more than one server in distance ↵brain
due to it being propogated with a nick prefix. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9391 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Remote map only works for opers. Fix problem where only part of the map is ↵brain
shown, and also restrict to opers only so that normal users cant use it to probe network routes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9390 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9389 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06The map matrix must be static. For some reason it blows up when it is not. ↵brain
This fixes the display oddities, as far as i can tell. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9388 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Initialise var (another valgrind warning)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9386 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Remote /MAP (that now doesn't confuse clients ;p)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9383 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Fix this up to convert deque to const char* const for w00tbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9382 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Remote /MAP: caution, this doesn't compilew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9381 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Revert not-required haxbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9380 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06For some reason there was a FinishBurst in the encap command, which was ↵brain
sending spurious end of burst messages git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9379 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Mark ping answered when we get a two form replyw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9378 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Make ping warnings and lag check global across all servers on a network. ↵w00t
This means a lot of pings travelling around with a lot of servers, but hey, it's useful info. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9377 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05Error message tweakingw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9370 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05Remove debug, fix DELLINE: args were the wrong way aroundw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9365 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05debugw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9364 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05Same herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9362 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05Fix showing of sid/uid instead of nick or servername when lines are addedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9361 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05Resolve collisions once, don't rely on every server being able to fix our ↵w00t
collision git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9360 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05Fix multiple burst notifications in a better way (force EOB was quite often ↵w00t
hitting in too quickly, will only trigger on servers not EOB after 60 seconds now) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9358 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05Fix IDLE sending a nick rather than a uid. Atheme should probably put a ↵brain
check in too, but its now low priority git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9357 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05Only finish bursting once, thanks AnMasterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9355 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05Remove debug, thanks for reminding me danieldgbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9354 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05Tweaks to make some errors show server name and not server IDbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9353 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05Redo the MODE warning stuff. Don't do some extra unneeded checks, don't ↵w00t
allow SVSMODE on a channel, close any link that tries to do a MODE on a channel. FMODE with proper TS rules *must* be used. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9348 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05Fix crash in MODE when sent for a user, with only one parameter (which is ↵brain
wrong, anyway) - Also fix bad output in protocol interface when sending MODE for a user from a server origin git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9346 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Fix broken fjoin, looks like we forgot something when porting to new format :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9338 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04See this brainw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9336 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Add simple modes to FJOIN instead of sending a seperate FMODE all the time. ↵w00t
This has the benefit of less bandwidth, making us closer to TS6 compliant, and perhaps defeating a few desync conditions in the future.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9333 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Allow for custom prefixes as status chars in /notice @#chan etc. Up until ↵brain
now theyve just used a hard coded check on @%+. This slows down writing to a channels users by a small amount, but only when writing to a prefix is happening. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9329 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Fix lost messages, thanks w00t and peaveybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9325 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Whoops, thanks w00tbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9319 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Whoops, wrong pointer. write out 500 lines 'i will check my code twice', brain.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9318 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Make it buildablebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9317 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Whoops, this would be bad if not fixed :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9316 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-04Support for remote NOTICE/PRIVMSG with server origin and user targetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9312 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Add safety check for nonexistent server in receiving server origin privmsg ↵brain
(shouldnt happen as we vet the uid higher up the chain, but check anyway!) Also add trigger for OnText to remove privmsg/notice git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9311 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-04Server origin PRIVMSG and NOTICE now supported by protocol. Will add ↵brain
interface after i've shredded a load of paper >:) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9307 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Server origin privmsg, UNTESTED - will test in a minbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9306 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Now rip out the old handler, and replace with an error log linebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9302 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Make all our modules use the new stuff rather than the send_ eventsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9301 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
2008-04-02Fixes for bug #493, tidyups to clearing of channel modes on losing FJOIN. ↵brain
Module unloads may also be tidied at a future date but it means reordering some loops in mode.cpp. See around the comment added. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9283 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-02DOH! Fix my muppetry of a segfault, and fix some warningsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9273 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-01Remove call to FlushWriteBuffer from BufferedSocket::Write(), this means we ↵w00t
don't try write() pointlessly when we may very well not (chewing CPU), and instead waits for the socketengine to tell us we can write. Tested, works fine. (nothing used this return value anyway) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9247 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-01Special check in here now that forbids all use of MODE in s2s for changing ↵brain
channel modes, closing a loophole that services devs keep using to bypass implenting proper TS, and breaking our protocol. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9244 e03df62e-2008-0410-955e-edbf42e46eb7