]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/metadata.cpp
m_services_account Fix possible recursion when checking 'U' extbans
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / metadata.cpp
index 4760793cb80adf05c8e0f5ab66ef396441f406eb..f74b2dc621610775c8858ebb7d8adf66b8f40662 100644 (file)
@@ -1,16 +1,23 @@
-/*       +------------------------------------+
- *       | Inspire Internet Relay Chat Daemon |
- *       +------------------------------------+
+/*
+ * InspIRCd -- Internet Relay Chat Daemon
  *
- *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
- * See: http://wiki.inspircd.org/Credits
+ *   Copyright (C) 2010 Daniel De Graaf <danieldg@inspircd.org>
+ *   Copyright (C) 2008 Robin Burchell <robin+git@viroteck.net>
  *
- * This program is free but copyrighted software; see
- *            the file COPYING for details.
+ * This file is part of InspIRCd.  InspIRCd is free software: you can
+ * redistribute it and/or modify it under the terms of the GNU General Public
+ * License as published by the Free Software Foundation, version 2.
  *
- * ---------------------------------------------------
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+
 #include "inspircd.h"
 #include "commands.h"
 
@@ -38,7 +45,7 @@ CmdResult CommandMetadata::Handle(const std::vector<std::string>& params, User *
        }
        else if (*(params[0].c_str()) != '#')
        {
-               User* u = ServerInstance->FindNick(params[0]);
+               User* u = ServerInstance->FindUUID(params[0]);
                if (u)
                {
                        if (item)