summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
AgeCommit message (Collapse)Author
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
2008-03-21Only valid targets for encap are now server idsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9162 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Fix encap bug, when a target is wildcard we shouldnt abort propogatingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9161 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Generate warning if m_services_account.so and m_cap.so are not loaded with ↵brain
m_sasl.so to log file. Tidy up debug output. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9153 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Forgot to commit thisbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9152 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Whoops, forgot to tie ENCAP into receiver in treesocketbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9151 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21This seems to play nice now, but it seems we may have to redo it all AGAIN :(brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9150 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Patch to change MODULES numerics, so we dont get a collision when using ↵brain
AUTHENTICATE. Thanks nenolod. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9148 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21ENCAP stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9146 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-17Fix the warnings that are worth fixing, ignore the rest of gcc's nannyingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9117 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-08Fix multiple (useless) linefeeds on the end of ADDLINE in burstbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9065 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24This should fix remote rehashbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9030 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24Rollback complete! Everyone please go through the code and check i havent ↵brain
forgotten to incorporate your tweaks and changes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9019 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24spanningtree now correctly uses OnReadConfig, so its config is AVAILABLE ↵brain
when it comes to read it. No more bitching about missing config tags. This MIGHT fix the other problem listed in bug #461 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9018 e03df62e-2008-0410-955e-edbf42e46eb7