diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-31 22:15:03 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-31 22:15:03 +0000 |
commit | 6236cf5891a008fbdc8d97af34bb5dc0d39ad2ea (patch) | |
tree | d648ad8cfbce79c7e09a9f78969ccbaeec99c5ae /src/modules/m_spanningtree/treesocket2.cpp | |
parent | 4e5bd889d93a389299ad73544012149055342d63 (diff) |
Add XLine::SetCreateTime that removes gline_set_creation_time and friends
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8449 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/treesocket2.cpp')
-rw-r--r-- | src/modules/m_spanningtree/treesocket2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp index b214e01ad..e9316fccd 100644 --- a/src/modules/m_spanningtree/treesocket2.cpp +++ b/src/modules/m_spanningtree/treesocket2.cpp @@ -529,9 +529,9 @@ bool TreeSocket::AddLine(const std::string &prefix, std::deque<std::string> &par return false; XLine* xl = xlf->Generate(Instance->Time(), atoi(params[4].c_str()), params[2].c_str(), params[5].c_str(), params[1].c_str()); + xl->SetCreateTime(atoi(params[3]).c_str()); if (Instance->XLines->AddLine(xl,NULL)) { - /*Instance->XLines->zline_set_creation_time(params[1].c_str(), atoi(params[3].c_str()));*/ if (xl->expiry) { this->Instance->SNO->WriteToSnoMask('x',"%s Added %cLINE on %s to expire on %s (%s).",prefix.c_str(),*(params[0].c_str()),params[1].c_str(),Instance->TimeString(xl->expiry).c_str(),params[5].c_str()); |