summaryrefslogtreecommitdiff
path: root/modules/commands/ns_alist.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-12-31 01:33:32 -0500
committerAdam <Adam@anope.org>2011-12-31 01:33:32 -0500
commit20aa4e85ce11a5d286f027638c4af82251c2afb9 (patch)
tree398140734d25134002f633c4c6dac6510584580b /modules/commands/ns_alist.cpp
parentf1b05acf269817b9fd70bab24fe66fbfe936beba (diff)
Bug #1368 - check all members of a users gruop against the access list
Diffstat (limited to 'modules/commands/ns_alist.cpp')
-rw-r--r--modules/commands/ns_alist.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/commands/ns_alist.cpp b/modules/commands/ns_alist.cpp
index 8b8be9290..04cfb5b3f 100644
--- a/modules/commands/ns_alist.cpp
+++ b/modules/commands/ns_alist.cpp
@@ -70,7 +70,8 @@ class CommandNSAList : public Command
entry["Channel"] = (ci->HasFlag(CI_NO_EXPIRE) ? "!" : "") + ci->name;
for (unsigned i = 0; i < access.size(); ++i)
entry["Access"] = entry["Access"] + ", " + access[i]->Serialize();
- entry["Access"] = entry["Access"].substr(3);
+ entry["Access"] = entry["Access"].substr(2);
+ list.addEntry(entry);
}
std::vector<Anope::string> replies;