From 99a1ea0892b575c6d66d9f4c0aab5042c261ce4a Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 8 May 2008 22:40:11 +0000 Subject: Add call to protocol interface to get useful info on the server map. Return a std::list of classes each of which has a server name, parent server name, user and oper count, and latency in millisecs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9673 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/protocolinterface.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree/protocolinterface.h') diff --git a/src/modules/m_spanningtree/protocolinterface.h b/src/modules/m_spanningtree/protocolinterface.h index 60f961a22..b43e88c67 100644 --- a/src/modules/m_spanningtree/protocolinterface.h +++ b/src/modules/m_spanningtree/protocolinterface.h @@ -4,7 +4,6 @@ class SpanningTreeUtilities; class ModuleSpanningTree; - class SpanningTreeProtocolInterface : public ProtocolInterface { SpanningTreeUtilities* Utils; @@ -25,6 +24,8 @@ class SpanningTreeProtocolInterface : public ProtocolInterface virtual void SendChannelNotice(Channel* target, char status, const std::string &text); virtual void SendUserPrivmsg(User* target, const std::string &text); virtual void SendUserNotice(User* target, const std::string &text); + virtual void GetServerList(ProtoServerList &sl); }; #endif + -- cgit v1.3.1-10-gc9f91