summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-08 14:49:13 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-08 14:49:13 +0000
commitd2c3c6f91c8738c3a0e2aefff7491b007842bab8 (patch)
tree4e5f4e068167ef826be4f024e2f8591ad21486a3 /src/modules
parent901ebf3c87b1fdcbd2fa5e3ac0afeada14c66597 (diff)
Aligned % fields in map
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2738 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 2f83916ac..f2836534c 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -2484,7 +2484,7 @@ class ModuleSpanningTree : public Module
{
percent = ((float)Current->GetUserCount() / (float)clientlist.size()) * 100;
}
- snprintf(text, 80, "%s %s%5d [%3.2f%%]", Current->GetName().c_str(), spacer, Current->GetUserCount(), percent);
+ snprintf(text, 80, "%s %s%5d [%5.2f%%]", Current->GetName().c_str(), spacer, Current->GetUserCount(), percent);
strlcpy(&matrix[line][depth],text,80);
line++;
for (unsigned int q = 0; q < Current->ChildCount(); q++)