summaryrefslogtreecommitdiff
path: root/modules/commands/cs_set.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-03-01 22:41:45 -0500
committerAdam <Adam@anope.org>2014-03-01 22:41:45 -0500
commit59693624250eb411265844e42322c05d1825acf1 (patch)
treec3241304257f3dd936c02892b6fc2edf1066a4c5 /modules/commands/cs_set.cpp
parent3ceae33b16ea14c124fae7d4d99a5ada95b17399 (diff)
When unserializing channels with persist, set their ts=now. If we are supposed to lower it later we will then.
Diffstat (limited to 'modules/commands/cs_set.cpp')
-rw-r--r--modules/commands/cs_set.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_set.cpp b/modules/commands/cs_set.cpp
index 993dbf8f8..bb8232808 100644
--- a/modules/commands/cs_set.cpp
+++ b/modules/commands/cs_set.cpp
@@ -1163,7 +1163,7 @@ class CSSet : public Module
return;
bool created;
- Channel *c = Channel::FindOrCreate(ci->name, created, ci->time_registered);
+ Channel *c = Channel::FindOrCreate(ci->name, created);
ChannelMode *cm = ModeManager::FindChannelModeByName("PERM");
if (cm)