X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_topiclock.cpp;h=b0d004b1cf1c25ce957aa4ccae3356e7ead3eca8;hb=d4a1ea70451abb333e71f9cff09b624db59531a0;hp=c65f2766854b6572d49f4fb4e50fea23555289d9;hpb=f8a9b6ba4ae0b4b3c7b2a408332230dd82eb4608;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_topiclock.cpp b/src/modules/m_topiclock.cpp index c65f27668..b0d004b1c 100644 --- a/src/modules/m_topiclock.cpp +++ b/src/modules/m_topiclock.cpp @@ -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(parameters[1]); if (!topicts) { ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, "Received SVSTOPIC with a 0 topicts, dropped.");