summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regchannel.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index 1e0014454..ccb2235b3 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -235,7 +235,6 @@ ChannelInfo::ChannelInfo(const Anope::string &chname) : Flags<ChannelInfoFlag, C
this->founder = NULL;
this->successor = NULL;
- this->last_topic_time = 0;
this->c = findchan(chname);
if (this->c)
this->c->ci = this;
@@ -244,6 +243,9 @@ ChannelInfo::ChannelInfo(const Anope::string &chname) : Flags<ChannelInfoFlag, C
this->repeattimes = 0;
this->bi = NULL;
+ this->last_topic_setter = Config->ChanServ;
+ this->last_topic_time = Anope::CurTime;
+
this->name = chname;
size_t t;