summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
AgeCommit message (Collapse)Author
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
2008-02-22w00t broke it :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9002 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22Convert remaining InspIRCd::Log() calls to new logging systemaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9001 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22Nuke TIMESYNC from orbit \o/w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8998 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-20Wheee, mass commit! this adds const stafety, throwing a compile error if ↵brain
anyone does: "parameters[n] = blahvar;" in a command handler etc. where they REALLY SHOULD NOT fuck with the value and should copy the pointer. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8971 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-17w00t pointed out it needs doing here toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8952 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-17I gots a better fix :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8951 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-16Backport SendXLines() fix on netburst (don't buffer loads of lines at once), ↵w00t
and fix: don't propegate K:Lines on netburst git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8948 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-13Commit patch from danieldg that makes a ton of stuff const-safe for latest ↵brain
warn-happy trigger-happy gcc4 (thanks) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8922 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-13This doesn't need to be inside the loop. There is only one IP for ↵w00t
(potentially) multiple ports, after all.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8921 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-13Slight API tweak. Change Command to take char * instead of char in it's ↵w00t
constructor, this avoids confusion/generates a compile error if someone mixes up flags with number of params, instead of working but not working as expected in a weird manner. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8918 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11-Woverloaded-virtual fixesw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8899 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11Remove many unneeded headers from spanningtree filesw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8895 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11Last of the -Wshadow fixes.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8894 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-07Sorta update this.. won't give a full file list as it's now kinda huge.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8848 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-06Fix warnings (thanks owine)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8842 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05More tweaksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8839 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05This makes more sensebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8837 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05Add server.cpp, handles all stuff related to the server command. ↵w00t
treesocket2.cpp is now ~700 lines :-) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8836 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05We have two perfectly good macros, use themw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8835 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05fixed more std:: stufffez
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8831 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-05fixed std:: stuff - that should be all of itfez
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8830 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-04Clean up some FJOIN stuffw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8816 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-04Move a piece of HMAC to hmac.cppw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8815 e03df62e-2008-0410-955e-edbf42e46eb7