diff options
| author | 2007-08-27 18:30:33 +0000 | |
|---|---|---|
| committer | 2007-08-27 18:30:33 +0000 | |
| commit | 25f99f5c21bdf4d42ffbf2fc06438270e890d992 (patch) | |
| tree | 39622e23b494a4c447226e2e9fbdcb9001cd4f71 /src/modules/m_spanningtree/treesocket2.cpp | |
| parent | Remove some old style compatibility checking for 1.0-alpha servers, this real... (diff) | |
| download | inspircd++-25f99f5c21bdf4d42ffbf2fc06438270e890d992.tar.gz inspircd++-25f99f5c21bdf4d42ffbf2fc06438270e890d992.tar.bz2 inspircd++-25f99f5c21bdf4d42ffbf2fc06438270e890d992.zip | |
Don't try do lookups by nickname any more, all s2s traffic should be using UID now. If it's not, well, we need to know anyway.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7907 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/treesocket2.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/treesocket2.cpp | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp index 74e1dd084..64705cb98 100644 --- a/src/modules/m_spanningtree/treesocket2.cpp +++ b/src/modules/m_spanningtree/treesocket2.cpp @@ -1117,16 +1117,8 @@ bool TreeSocket::ProcessLine(std::string &line) if (!prefix.empty()) { std::string direction = prefix; - // XXX + userrec *t = this->Instance->FindUUID(prefix); - if (!t) - { - userrec* t = this->Instance->FindNick(prefix); - if (t) - { - Instance->Log(DEBUG,"Ack, legacy command!"); - } - } if (t) { direction = t->server; @@ -1426,26 +1418,8 @@ bool TreeSocket::ProcessLine(std::string &line) * Not a special s2s command. Emulate the user doing it. * This saves us having a huge ugly command parser again. */ - - - /* - * - * First, let's find them by UID. If we don't find, try again - * by nick (to catch legacy commands temporarily). - * If we still don't .. carry on and pray. -- w00t - */ userrec *who = this->Instance->FindUUID(prefix); - if (!who) - { - userrec* who = this->Instance->FindNick(prefix); - - if (who) - { - Instance->Log(DEBUG, "Glark! I got a legacy command!"); - } - } - std::string sourceserv = this->myhost; if (!this->InboundServerName.empty()) { |
