]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_callerid.cpp
Fix copying too much data into the remote endpoint field.
[user/henk/code/inspircd.git] / src / modules / m_callerid.cpp
index 40cbc3506f4f325fd5012f86ce71d8d16c829a7d..3810fcf322157be61e7b1bcd16912d59c44e2e28 100644 (file)
@@ -99,7 +99,7 @@ struct CallerIDExtInfo : public ExtensionItem
                irc::commasepstream s(value);
                std::string tok;
                if (s.GetToken(tok))
-                       dat->lastnotify = ConvToInt(tok);
+                       dat->lastnotify = ConvToNum<time_t>(tok);
 
                while (s.GetToken(tok))
                {