summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;