]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_topiclock.cpp
Only send ACCOUNT and CHGHOST to clients that have sent NICK/USER.
[user/henk/code/inspircd.git] / src / modules / m_topiclock.cpp
index cbe524408b39f133856c8c50452a1229f8499ab8..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.");
@@ -115,7 +115,7 @@ class FlagExtItem : public ExtensionItem
                unset_raw(container);
        }
 
-       void free(void* item) CXX11_OVERRIDE
+       void free(Extensible* container, void* item) CXX11_OVERRIDE
        {
                // nothing to free
        }