1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 07:13:12 +02:00

Fixed ns_ajoins list output formatting

This commit is contained in:
Adam
2011-01-17 20:29:33 -05:00
parent 8975b52cc3
commit 01feb5b489
+2 -2
View File
@@ -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)
{