From f9d2a1c8277436f49d4700327c66712242ccfd31 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 18 Feb 2009 17:52:20 +0000 Subject: Rework /MAP output to not be overly wide git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11125 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/main.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree/main.h') diff --git a/src/modules/m_spanningtree/main.h b/src/modules/m_spanningtree/main.h index 1a9c63277..5d4ffb9b2 100644 --- a/src/modules/m_spanningtree/main.h +++ b/src/modules/m_spanningtree/main.h @@ -27,6 +27,7 @@ * painful death by pain. You have been warned. */ const long ProtocolVersion = 1201; +const int MaxMapHeight = 250; /** Forward declarations */ @@ -80,7 +81,7 @@ class ModuleSpanningTree : public Module /** Show MAP output to a user (recursive) */ - void ShowMap(TreeServer* Current, User* user, int depth, char matrix[250][250], float &totusers, float &totservers); + void ShowMap(TreeServer* Current, User* user, int depth, char names[MaxMapHeight][100], int &maxnamew, char stats[MaxMapHeight][50]); /** Handle remote MOTD */ -- cgit v1.2.3