From 2aeca99c6381ae7c8a2b98310accd96ad0d7f369 Mon Sep 17 00:00:00 2001 From: Jackmcbarn Date: Wed, 19 Jan 2011 20:24:07 -0500 Subject: Fix bug #117, found by satmd, thanks --- src/modules/m_spanningtree/override_map.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree/override_map.cpp b/src/modules/m_spanningtree/override_map.cpp index 1eb85761c..8e3db1169 100644 --- a/src/modules/m_spanningtree/override_map.cpp +++ b/src/modules/m_spanningtree/override_map.cpp @@ -170,13 +170,13 @@ bool ModuleSpanningTree::HandleMap(const std::vector& parameters, U { // terminate the string at maxnamew characters names[100 * t + maxnamew] = '\0'; - user->SendText(":%s %d %s :%s %s", ServerInstance->Config->ServerName.c_str(), + user->SendText(":%s %03d %s :%s %s", ServerInstance->Config->ServerName.c_str(), RPL_MAP, user->nick.c_str(), names + 100 * t, stats + 50 * t); } - user->SendText(":%s %d %s :%d server%s and %d user%s, average %.2f users per server", + user->SendText(":%s %03d %s :%d server%s and %d user%s, average %.2f users per server", ServerInstance->Config->ServerName.c_str(), RPL_MAPUSERS, user->nick.c_str(), line, (line > 1 ? "s" : ""), totusers, (totusers > 1 ? "s" : ""), avg_users); - user->SendText(":%s %d %s :End of /MAP", ServerInstance->Config->ServerName.c_str(), + user->SendText(":%s %03d %s :End of /MAP", ServerInstance->Config->ServerName.c_str(), RPL_ENDMAP, user->nick.c_str()); delete[] names; -- cgit v1.2.3