From fc1d7ea89b5beed96022499fe7fa86bef7cf2aad Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 14 Feb 2013 20:58:01 -0500 Subject: Switch Destroy methods to delete --- modules/commands/cs_clone.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/cs_clone.cpp') diff --git a/modules/commands/cs_clone.cpp b/modules/commands/cs_clone.cpp index 94e7c424f..9a33a6fab 100644 --- a/modules/commands/cs_clone.cpp +++ b/modules/commands/cs_clone.cpp @@ -59,7 +59,7 @@ public: if (what.empty()) { - target_ci->Destroy(); + delete target_ci; target_ci = new ChannelInfo(*ci); target_ci->name = target; (*RegisteredChannelList)[target_ci->name] = target_ci; -- cgit