diff options
-rw-r--r-- | modules/commands/ns_alist.cpp | 2 |
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) |