Search'n'replace remaining NULL occurrences (#816)

This commit is contained in:
J-P Nurmi
2015-02-26 20:58:01 +01:00
parent 832cec45f8
commit 75b210e841
46 changed files with 237 additions and 237 deletions
+3 -3
View File
@@ -66,8 +66,8 @@ public:
if (sMessage.Token(0).Equals("ACTION"))
return CONTINUE;
if (m_tLastCTCP + m_iThresholdSecs < time(NULL)) {
m_tLastCTCP = time(NULL);
if (m_tLastCTCP + m_iThresholdSecs < time(nullptr)) {
m_tLastCTCP = time(nullptr);
m_iNumCTCP = 0;
}
@@ -79,7 +79,7 @@ public:
PutModule("Limit reached by [" + Nick.GetHostMask() + "], blocking all CTCP");
// Reset the timeout so that we continue blocking messages
m_tLastCTCP = time(NULL);
m_tLastCTCP = time(nullptr);
return HALT;
}