summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-14 21:46:14 -0400
committerAdam <Adam@anope.org>2011-08-14 21:46:14 -0400
commit2e7bd6498f03a290c6860ff34f3eefbd9790f919 (patch)
tree4d44a4e6e75b2210a9b3bb9cab0ec30f95862dce /src
parent786397f77daddb4ac7153af46098999db1fc7bec (diff)
Fixed /cs clone access
Diffstat (limited to 'src')
-rw-r--r--src/regchannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index e57f555ac..fffb384ac 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -86,7 +86,7 @@ ChannelInfo::ChannelInfo(ChannelInfo &ci) : Flags<ChannelInfoFlag, CI_END>(Chann
AccessProvider *provider = taccess->provider;
ChanAccess *newaccess = provider->Create();
- newaccess->ci = taccess->ci;
+ newaccess->ci = this;
newaccess->mask = taccess->mask;
newaccess->creator = taccess->creator;
newaccess->last_seen = taccess->last_seen;