summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
AgeCommit message (Collapse)Author
2009-03-05Fix crash when services (or a misbehaving remote server) introduces a server ↵danieldg
with duplicate SID git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11171 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-02Revert "Don't apply channel modes received in an non-burst, non-creation ↵danieldg
FJOIN, because they could be out of date" This keeps the protocol closer to TS6 behavior. The mode sync in the FJOIN is used to resync channel modes after a desync caused by modes crossing on the wire. In the future, an alternate join command will be used to prevent MODExJOIN desync without rejecting modes from an FJOIN. This reverts commit 4820e6bb9578e53ea1553070108599349d0ffbcb. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11163 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-02Don't apply channel modes received in an non-burst, non-creation FJOIN, ↵danieldg
because they could be out of date git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11162 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-27Fix SID-sourced KILL being displayed to killee as from SID not from server namedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11155 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-27Fix previous module mismatch message; "remote" is misleading when sent as an ↵danieldg
ERROR git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11154 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-24Clarify module mismatch messagedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11148 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-18Remove unused NumServers fielddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11128 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-18Remove MaxMapHeight, replace with dynamically sized buffersdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11127 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-18Apparently casting to float is not sufficient to cause a conversiondanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11126 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-18Rework /MAP output to not be overly widedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11125 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-16Remove redundant PriorityState, enum Priority does the exact same thing.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11121 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-14Nuke trailing spacespeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-09Remove space before first user in FJOIN; also call c->ChanModes less for ↵danieldg
large channels git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11079 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-09Fix merge FJOIN debug messagedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11078 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08Fix: always have a colon marking the last FJOIN parameter, otherwise servers ↵w00t
are going to try to add users to servers on perm channels with modes, etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11066 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-31We already have an error for not enough params to the SERVER command, but ↵brain
the error is 'missing SID'. This error can be seen in snomask +l and is sent as ERROR to the connection. Changed to 'Not enough parameters for SERVER command', fixes bug #661 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11014 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22Revert "Check nickname validity on introduction, closes bug #682 reported by ↵w00t
danieldg (thanks)." This broke stuff. This reverts commit 4d29ae6cc6c4f5ba410b58cc0807f018484f6447. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10975 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-21Check nickname validity on introduction, closes bug #682 reported by ↵w00t
danieldg (thanks). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10974 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-04This is out of date, useless, and nobody updates it.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10943 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02...and make it not go querying modules that dont implement the right ↵brain
interface and cause it to crash :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10935 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02If a module is loaded after m_spanningtree that it needs, then it will now ↵brain
re-read its configuration file. The code is also now in the right place to pick this up on rehash too not just on load. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10934 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02Update copyrights for 2009.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-21Allow for kick from a server origin to have a comma seperated list of ↵brain
nicknames to be kicked. Previously this was only supported by the user origin version git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10904 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-15Fix naming convention to be consistant. (cmd_ -> Command)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10891 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-12Fix problem with autoconnects: don't reset NextConnectTime to a higher value ↵w00t
than it currently is, as that doesn't play very nice with multiple autoconnect values.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10879 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Make an error message more verbose to help usersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10866 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-30Remove unused variable (thanks to everyone who noticed it)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10835 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-27Don't append server name to kill reasons.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10833 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-27Forward-port: Created commit fcadb0b: Change rm to force removal for ↵w00t
configureclean target, obsoletes debian patch. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10829 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-20Fix for potential crash with invalid prefixes (prefixes which are neither ↵brain
valid SID nor UID, but are a valid nickname, outdated protocol) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10810 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-16Don't burst expired X:, should help stop bounce wars..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10808 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-04Fix malformed UID errors so that w00t can troubleshoot! :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10796 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-02Fire every debug.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10786 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-01Second attempt at time() -> SI->Time(), now problems with the original were ↵w00t
fixed. (SI::TIME was not initialised). Thanks Namegduf! (Please test, all, valdebug etc, report odd behaviour/warnings!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10783 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-01Fix a result of Tired Coding (tm)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10774 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-31It is not my %$"*&%" day. This never happened.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10773 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-31Tidy up FJOIN processing somewhat - don't bother faking a TS to get modes ↵w00t
accepted, just use a high technology of programming known as an "if statement". Also add generous debug to this via snomask +d, as it seems the occasional desync is occuring. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10772 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-31Add REMOTEOPER snomask.. use it.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10770 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-31Move some messages (correctly) to remote link snomask.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10769 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-31Add snomask +s +L - remote link notices.w00t
Can be a useful distinction for bigger networks or networks with more distinction on what people can and cannot see. This also makes RemoteMessage more match it's docs and removes useless redundancy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10759 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-28Remove comment, as it is now done.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10740 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-27Add user/channel mode synchronisation detection to CAPAB - link will now ↵w00t
drop if modes differ in some way (one side requires param, other doesn't, etc). Same for user modes. This will not affect services. Side effect: Modes::ChanModes() -> Modes::GiveModeList(ModeMasks), mode list is formatted identically for both MASK_CHANNEL and MASK_USER. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10733 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-27Be a hell of a lot more strict about malformed UID commands. We've always ↵w00t
been strict in the past, for some reason, we were previously very permissive about broken UID - there is no reason to be. If they're fucking up, then make them fix their problem :) (this is also a lazy man's fix to get around bad pointers/etc by deleting users outside of culllist). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10731 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-27Fix redundant stats snotice, thanks dz.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10730 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25Use TargetTypeFlags instead of int in a few places.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10711 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25As we have an enum for type, why not ..use it?w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10710 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25Note where to find the docs.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10704 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25Nuke space indents from orbit. (die!!)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10703 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25Move spanningtree to use OnChangeLocalUserHost instead of OnChangeHost, this ↵w00t
makes more sense, and also means we can call OnChangeHost for remote clients too, making it actually match it's documentation for the first time ever! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10702 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-23Revert earlier time() -> SI->Time() diff for now, this causes problems with ↵w00t
dns.cpp in mysterious ways.. seemingly a bad pointer there somehow..? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10695 e03df62e-2008-0410-955e-edbf42e46eb7