summaryrefslogtreecommitdiff
path: root/modules/commands/ns_alist.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-02-13 18:11:03 -0500
committerAdam <Adam@anope.org>2016-02-13 18:11:03 -0500
commite0fd118b3e48ef7abadcffdfa998d74543a626d2 (patch)
tree1b3ca712ba920c4fd5833e4fe88ff01c4c34f542 /modules/commands/ns_alist.cpp
parentc10d7bdadaa6c62d839d6eeec13403686420cdb1 (diff)
Fix access path changes in ns_alist from earlier
Diffstat (limited to 'modules/commands/ns_alist.cpp')
-rw-r--r--modules/commands/ns_alist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_alist.cpp b/modules/commands/ns_alist.cpp
index 6ccbe94ba..5f5efc7ea 100644
--- a/modules/commands/ns_alist.cpp
+++ b/modules/commands/ns_alist.cpp
@@ -88,7 +88,7 @@ class CommandNSAList : public Command
entry["Channel"] = (ci->HasExt("CS_NO_EXPIRE") ? "!" : "") + ci->name;
for (unsigned j = 0; j < access.paths.size(); ++j)
{
- ChanAccess::Path &p = access.paths[i];
+ ChanAccess::Path &p = access.paths[j];
// not interested in indirect access
if (p.size() != 1)