diff options
author | Adam <Adam@anope.org> | 2011-01-17 20:29:33 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-01-17 20:29:33 -0500 |
commit | 01feb5b48948f550cbf220307abab5a9ee38c0de (patch) | |
tree | ad0e7a98a66eed7fb2c6ca08ec4815356cec2bf5 | |
parent | 8975b52cc3087db9504de7ad6e707234cb158a36 (diff) |
Fixed ns_ajoins list output formatting
-rw-r--r-- | modules/core/ns_ajoin.cpp | 4 |
1 files 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<std::pair<Anope::string, Anope::string> > channels; - bool valid = nc->GetExtRegular("ns_ajoin_channels", channels); + nc->GetExtRegular("ns_ajoin_channels", channels); for (unsigned i = 0; i < params.size(); ++i) { |