summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
AgeCommit message (Collapse)Author
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
2008-04-01Remove this, it won't work (reliably), use ModeParser::ModeString() instead, ↵w00t
ta B git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9243 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-01Configurable prefixes for chanmodes +qa: prefixes can be turned on or off ↵w00t
individually and seperately, per server as well as per mode, and prefixes are no longer limited to ~&. *** SERVICES AUTHORS *** This involves a protocol change. FJOIN now sends the userlist with format modes,nick instead of prefixes,nick. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9241 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-31Patch by brain; Fix crash when no parameters are given when introducing a ↵special
remote client and add encap to the windows project git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9237 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30Make sure CAPAB always comes before SERVER on either side of the link at all ↵brain
times git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9229 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30AWAY notification for WATCH. Numerics are now sent out when a user goes away ↵w00t
(or returns from AWAY), as well as in WATCH L (if the user is online and away). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9227 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30Merge OnCancelAway and OnSetAway, add param awaymsg to OnSetAway (blank when ↵w00t
cancelling), and change return type to int so modules can block away messages by returning nonzero. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9223 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30Whack format warning, do these differ between gcc versions or something?!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9222 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30Commit -Wformat=2 -Wmissing-format-attributes, printf-like functions in ↵aquanight
inspircd now get treated like printf (meaning compile-time check goodness) in GCC git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9217 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24A load of classes dont inherit from classbase, and they should. fix.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9191 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24And more of thembrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9186 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22Wheeee for HUGE commits. Convert all numerics to WriteNumeric so that ↵brain
OnNumeric can capture them. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9175 e03df62e-2008-0410-955e-edbf42e46eb7