diff options
| author | 2007-08-27 02:08:28 +0000 | |
|---|---|---|
| committer | 2007-08-27 02:08:28 +0000 | |
| commit | 78fa4165c90088523e623ab2b64ca0db0d19def0 (patch) | |
| tree | d43680962a32ff4364c7e295ba4db05a8dbafafe /src/modules/m_spanningtree/treesocket2.cpp | |
| parent | Fix me not being able to code.. (diff) | |
This will royally fuck 1.2's linking right now, but..
- Don't use NICK to introduce clients
- DO use UID
- On nick collide, change our client to their UID and let the other server do the same with theirs.
The last point is currently the broken bit, see, we can't change a nick to something starting with a didget, because that breaks nick rules.. need to overcome this somehow.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7857 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/treesocket2.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/treesocket2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp index 4851095e8..83b8a8720 100644 --- a/src/modules/m_spanningtree/treesocket2.cpp +++ b/src/modules/m_spanningtree/treesocket2.cpp @@ -1173,9 +1173,9 @@ bool TreeSocket::ProcessLine(std::string &line) /* Yes, know, this is a mess. Its reasonably fast though as we're * working with std::string here. */ - if ((command == "NICK") && (params.size() >= 8)) + if (command == "UID") { - return this->IntroduceClient(prefix,params); + return this->ParseUID(prefix, params); } else if (command == "FJOIN") { |
