* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
- * InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * InspIRCd: (C) 2002-2010 InspIRCd Development Team
* See: http://wiki.inspircd.org/Credits
*
* This program is free but copyrighted software; see
*/
class CommandRConnect;
class CommandRSQuit;
+class CommandSVSJoin;
+class CommandSVSPart;
+class CommandSVSNick;
class SpanningTreeUtilities;
class CacheRefreshTimer;
class TreeServer;
*/
class ModuleSpanningTree : public Module
{
- unsigned int max_local;
- unsigned int max_global;
CommandRConnect* command_rconnect;
CommandRSQuit* command_rsquit;
+ CommandSVSJoin* command_svsjoin;
+ CommandSVSPart* command_svspart;
+ CommandSVSNick* command_svsnick;
SpanningTreeUtilities* Utils;
void RedoConfig(Module* mod);
*/
void ShowLinks(TreeServer* Current, User* user, int hops);
- /** Counts local servers
- */
- int CountLocalServs();
-
/** Counts local and remote servers
*/
int CountServs();
*/
void HandleLinks(const std::vector<std::string>& parameters, User* user);
- /** Handle LUSERS command
- */
- void HandleLusers(const std::vector<std::string>& parameters, User* user);
-
/** Show MAP output to a user (recursive)
*/
void ShowMap(TreeServer* Current, User* user, int depth, int &line, char* names, int &maxnamew, char* stats);
void ProtoSendMetaData(void* opaque, Extensible* target, const std::string &extname, const std::string &extdata);
void OnLoadModule(Module* mod);
void OnUnloadModule(Module* mod);
+ ModResult OnAcceptConnection(int newsock, ListenSocket* from, irc::sockets::sockaddrs* client, irc::sockets::sockaddrs* server);
CullResult cull();
~ModuleSpanningTree();
Version GetVersion();