summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/core/ns_ajoin.cpp4
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)
{