mirror of
https://github.com/znc/znc.git
synced 2026-08-07 17:33:34 +02:00
Search'n'replace remaining NULL occurrences (#816)
This commit is contained in:
@@ -70,7 +70,7 @@ public:
|
||||
|
||||
void Cleanup() {
|
||||
Limits::iterator it;
|
||||
time_t now = time(NULL);
|
||||
time_t now = time(nullptr);
|
||||
|
||||
for (it = m_chans.begin(); it != m_chans.end(); ++it) {
|
||||
// The timeout for this channel did not expire yet?
|
||||
@@ -106,7 +106,7 @@ public:
|
||||
|
||||
void Message(CChan& Channel) {
|
||||
Limits::iterator it;
|
||||
time_t now = time(NULL);
|
||||
time_t now = time(nullptr);
|
||||
|
||||
// First: Clean up old entries and reattach where necessary
|
||||
Cleanup();
|
||||
|
||||
Reference in New Issue
Block a user