diff options
author | Adam <Adam@anope.org> | 2011-08-02 05:07:59 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-02 05:07:59 -0400 |
commit | 09f5591abac6b29b7c2b41b4747c2b523efa6c63 (patch) | |
tree | 1dd1ee2488f53cd898e4b499a6bb1f09a55f1a93 /modules/core/cs_clone.cpp | |
parent | f690cd802ecbf540732e35e44a757adb4699a48d (diff) |
Fixed /cs clone copying channel access, fixed restricted, and fixed some compiler warnings
Diffstat (limited to 'modules/core/cs_clone.cpp')
-rw-r--r-- | modules/core/cs_clone.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/cs_clone.cpp b/modules/core/cs_clone.cpp index b7f8763f7..5ede6a9e4 100644 --- a/modules/core/cs_clone.cpp +++ b/modules/core/cs_clone.cpp @@ -65,7 +65,7 @@ public: if (what.empty()) { delete target_ci; - target_ci = new ChannelInfo(ci); + target_ci = new ChannelInfo(*ci); target_ci->name = target; RegisteredChannelList[target_ci->name] = target_ci; target_ci->c = findchan(target_ci->name); |