]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_callerid.cpp
Consistancy: Allow opers to +L to a nonexistant channel, as we allow opers to bypass...
[user/henk/code/inspircd.git] / src / modules / m_callerid.cpp
index d8e50b280554adb9a255d9a86a8447660731f581..0204ee77f0f0b4312e83fafda501cdea12bd2a7e 100644 (file)
@@ -338,7 +338,7 @@ public:
 
                if (i == dat->accepting.end())
                {
-                       time_t now = ServerInstance->Time();
+                       time_t now = time(NULL);
                        /* +g and *not* accepted */
                        user->WriteNumeric(716, "%s %s :is in +g mode (server-side ignore).", user->nick.c_str(), dest->nick.c_str());
                        if (now > (dat->lastnotify + (time_t)notify_cooldown))