summaryrefslogtreecommitdiff
path: root/modules/core/cs_clone.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-02 05:07:59 -0400
committerAdam <Adam@anope.org>2011-08-02 05:07:59 -0400
commit09f5591abac6b29b7c2b41b4747c2b523efa6c63 (patch)
tree1dd1ee2488f53cd898e4b499a6bb1f09a55f1a93 /modules/core/cs_clone.cpp
parentf690cd802ecbf540732e35e44a757adb4699a48d (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.cpp2
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);