From 01feb5b48948f550cbf220307abab5a9ee38c0de Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 17 Jan 2011 20:29:33 -0500 Subject: [PATCH] Fixed ns_ajoins list output formatting --- modules/core/ns_ajoin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/ns_ajoin.cpp b/modules/core/ns_ajoin.cpp index 9b1de33d3..1dec32078 100644 --- a/modules/core/ns_ajoin.cpp +++ b/modules/core/ns_ajoin.cpp @@ -26,7 +26,7 @@ class CommandNSAJoin : public Command { source.Reply(NICK_AJOIN_LIST_HEAD); for (unsigned i = 0; i < channels.size(); ++i) - source.Reply(" %3d %-23s %s", i + 1, channels[i].first.c_str(), channels[i].second.c_str()); + source.Reply(" %3d %-12s %s", i + 1, channels[i].first.c_str(), channels[i].second.c_str()); } } @@ -215,7 +215,7 @@ class NSAJoin : public Module if (key == "NS_AJOIN") { std::vector > channels; - bool valid = nc->GetExtRegular("ns_ajoin_channels", channels); + nc->GetExtRegular("ns_ajoin_channels", channels); for (unsigned i = 0; i < params.size(); ++i) {