]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_topiclock.cpp
Expand searching in m_httpd_stats, add global handling of GET parameters (#1566)
[user/henk/code/inspircd.git] / src / modules / m_topiclock.cpp
index c65f2766854b6572d49f4fb4e50fea23555289d9..b0d004b1cf1c25ce957aa4ccae3356e7ead3eca8 100644 (file)
@@ -48,7 +48,7 @@ class CommandSVSTOPIC : public Command
                if (parameters.size() == 4)
                {
                        // 4 parameter version, set all topic data on the channel to the ones given in the parameters
-                       time_t topicts = ConvToInt(parameters[1]);
+                       time_t topicts = ConvToNum<time_t>(parameters[1]);
                        if (!topicts)
                        {
                                ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, "Received SVSTOPIC with a 0 topicts, dropped.");