1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd: (C) 2002-2010 InspIRCd Development Team
6 * See: http://wiki.inspircd.org/Credits
8 * This program is free but copyrighted software; see
9 * the file COPYING for details.
11 * ---------------------------------------------------
17 #include "treesocket.h"
18 #include "treeserver.h"
21 /* $ModDep: m_spanningtree/utils.h m_spanningtree/treeserver.h m_spanningtree/treesocket.h */
24 bool TreeSocket::OperQuit(const std::string &prefix, parameterlist ¶ms)
26 if (params.size() < 1)
29 User* u = ServerInstance->FindNick(prefix);
33 ServerInstance->OperQuit.set(u, params[0]);
34 params[0] = ":" + params[0];
35 Utils->DoOneToAllButSender(prefix,"OPERQUIT",params,prefix);