summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-03-08 19:49:30 -0500
committerAdam <Adam@anope.org>2016-03-08 19:49:30 -0500
commitb431d4dccfa40e791567680647a940bcefee6ada (patch)
treed3fd269173482ab8395564d456f04ed86532ce8b
parent1b12b80b48227089be90bfe48a46f499cf4849f8 (diff)
cs_clone: don't clone registered time
-rw-r--r--modules/commands/cs_clone.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/commands/cs_clone.cpp b/modules/commands/cs_clone.cpp
index 8b03cbdc8..a4ec31c1e 100644
--- a/modules/commands/cs_clone.cpp
+++ b/modules/commands/cs_clone.cpp
@@ -169,6 +169,7 @@ public:
delete target_ci;
target_ci = new ChannelInfo(*ci);
target_ci->name = target;
+ target_ci->time_registered = Anope::CurTime;
(*RegisteredChannelList)[target_ci->name] = target_ci;
target_ci->c = Channel::Find(target_ci->name);