summaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree
Commit message (Expand)AuthorAgeFilesLines
...
* Damn strict typing to hell•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7968 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-1/+1
* Last raft of compile fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7967 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-282-4/+2
* Oops. We were missing a param on this SVSNICK for remote TS.. that probably w...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7966 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-1/+1
* Fixes 2•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7965 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-4/+4
* Fixes 1•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7964 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-1/+1
* Convert yet more to ServerConfig::GetSID() - this is the last of the obvious ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7963 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-283-26/+25
* First round of servername->sid stuffs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7961 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-283-50/+57
* Use it here, too•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7960 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-7/+1
* Tidy up duplicate code, provide GetSID() method on ServerConfig which returns...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7959 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-282-14/+3
* Rice it up, biatch•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7958 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-2/+2
* Change issid to IsSID to appease our anal retentiveness^H^H^H^H^H^H... i mean...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7957 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-282-3/+3
* Add SpanningTreeUtils::issid(). See top of utils.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7956 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-282-0/+16
* Drop nick from incoming client on change collision if incoming client 'loses'...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7955 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-2/+14
* Oops: This 'remote' needs to be local, otherwise our return value can be inco...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7954 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-1/+1
* bool SamePerson = strcmp(localident, remoteident) && !strcmp(localip, remoteip);•••change to: bool SamePerson = !strcmp(localident, remoteident) && !strcmp(localip, remoteip); git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7951 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-1/+1
* Long-standing bug: userrec::age should be set on remote introduction. This do...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7950 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-0/+1
* Hmm. We shouldn't use FindNick here, as that will find on UID, which while it...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7949 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-1/+1
* Slight change to traffic logging, as I never remember which way the damn arro...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7948 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-2/+2
* Remove more unused headers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7946 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-284-13/+0
* Remove unneeded headers from spanningtree. This was done to the rest of the s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7945 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-2810-40/+0
* Remove the last uses of localised fake clients. This removes a lot of allocat...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7943 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-282-17/+4
* Handle nick change collision through the same rules nick introduction collisi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7937 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-282-1/+18
* Move nickname collision logic into TreeSocket::DoCollision so that nickname c...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7936 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-282-67/+99
* Fix potential for duplicate SID if the SID is auto generated.•••Auto generated SIDs are initialized too late after modules are loaded rather than before. Fixed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7924 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-272-1/+15
* Fix to use DuplicateID. This stops things segfaulting on duplicate SID introd...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7923 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-17/+9
* Add bool TreeSocket::DuplicateID(), as its not safe to throw then try and squ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7922 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-272-3/+14
* Well, this probably works. But it might not. :D.•••- If a server is introduced with an already-existing SID, kill it off the network. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7921 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-3/+37
* Move SID into TreeSocket constructor. w00t, search for "new TreeSocket" to se...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7920 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-274-17/+27
* This may need tidying up to make SetID internal and do this in the constructo...•••AWOOGA AWOOGA WARNING: SetID can throw a CoreException if the id already exists! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7919 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-273-0/+24
* Store id in TreeServer, use TreeServer::GetID() to get the id (NOTE: it is st...•••Server id sent on all outbound and inbound SERVER now. last parameter before desc. Min params for SERVER is now 5, not 4. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7918 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-275-12/+55
* Remove check for duplicate UUID, constructor of userrec throws for us instead•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7916 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-10/+0
* Update comment to say we need to SQUIT. This is a minor thing so im not going...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7913 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-2/+11
* This comment is no longer valid•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7912 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-3/+0
* Document the use of SVSNICK to fix a remote user on collide•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7911 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-0/+11
* Okay. Make it compile too, and make equal TS collision work correctly.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7910 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-6/+16
* Nickname collision: third revisitation•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7909 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-5/+49
* Don't try do lookups by nickname any more, all s2s traffic should be using UI...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7907 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-27/+1
* Remove some old style compatibility checking for 1.0-alpha servers, this real...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7906 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-10/+0
* If SVSNICK fails, attempt to change to UID, before quitting as a last resort ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7901 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-2/+10
* TS may be a more elegant solution, but it is fucking horrible to write code f...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7900 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-77/+5
* Oops, forgot a branch (the logic here totally sucks, it will need cleaning up...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7899 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-0/+20
* Nick collision handling with TS rules. This probably doesn't work yet.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7898 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-15/+39
* Debug to try figure this out ..•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7895 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-0/+1
* Add a metric assload of TRANSLATE macros to modules.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7892 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-0/+31
* Translation of mode parameters to uids where neccessary•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7891 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-9/+24
* Auto translation nick->uuid for command params should now work in all modules...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7889 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-2/+2
* More translation stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-8/+19
* A few tidyups, and comment how the new constructors work (so that w00t doesnt...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7875 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-0/+4
* Allocate uid in userrec constructor. Optional param added, if its empty, the ...•••(this is used for remote users) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7873 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-2/+1
* Fix obligotary typos•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7870 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-2/+2