1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd: (C) 2002-2009 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 * ---------------------------------------------------
14 #ifndef __COMMANDS_H__
15 #define __COMMANDS_H__
19 class CommandRConnect : public Command
21 SpanningTreeUtilities* Utils; /* Utility class */
23 CommandRConnect (Module* Callback, SpanningTreeUtilities* Util);
24 CmdResult Handle (const std::vector<std::string>& parameters, User *user);
25 RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters);
28 class CommandRSQuit : public Command
30 SpanningTreeUtilities* Utils; /* Utility class */
32 CommandRSQuit(Module* Callback, SpanningTreeUtilities* Util);
33 CmdResult Handle (const std::vector<std::string>& parameters, User *user);
34 RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters);
35 void NoticeUser(User* user, const std::string &msg);
38 class CommandSVSJoin : public Command
41 CommandSVSJoin(Module* Creator) : Command(Creator, "SVSJOIN", 2) { flags_needed = 'o'; }
42 CmdResult Handle (const std::vector<std::string>& parameters, User *user);
43 RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters);
45 class CommandSVSPart : public Command
48 CommandSVSPart(Module* Creator) : Command(Creator, "SVSPART", 2) { flags_needed = 'o'; }
49 CmdResult Handle (const std::vector<std::string>& parameters, User *user);
50 RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters);
52 class CommandSVSNick : public Command
55 CommandSVSNick(Module* Creator) : Command(Creator, "SVSNICK", 2) { flags_needed = 'o'; }
56 CmdResult Handle (const std::vector<std::string>& parameters, User *user);
57 RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters);