diff options
Diffstat (limited to 'src/modules/dcc/broker.cpp')
-rw-r--r-- | src/modules/dcc/broker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/dcc/broker.cpp b/src/modules/dcc/broker.cpp index 4110c213..f4728172 100644 --- a/src/modules/dcc/broker.cpp +++ b/src/modules/dcc/broker.cpp @@ -81,7 +81,7 @@ KviDccZeroPortTag * KviDccBroker::addZeroPortTag() static unsigned int g_uNextZeroPortTag = 0; g_uNextZeroPortTag++; KviDccZeroPortTag * t = new KviDccZeroPortTag; - t->m_tTimestamp = TQDateTime::tqcurrentDateTime(); + t->m_tTimestamp = TQDateTime::currentDateTime(); t->m_szTag.setNum(g_uNextZeroPortTag); //t->m_szTag.prepend("mIrc-zero-port-"); t->m_uResumePosition = 0; @@ -94,7 +94,7 @@ KviDccZeroPortTag * KviDccBroker::findZeroPortTag(const TQString &szTag) { KviDccZeroPortTag * t = m_pZeroPortTags->find(szTag); if(!t)return 0; - if(t->m_tTimestamp.secsTo(TQDateTime::tqcurrentDateTime()) > 180) + if(t->m_tTimestamp.secsTo(TQDateTime::currentDateTime()) > 180) { // too late man... m_pZeroPortTags->remove(szTag); |