]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/coremods/core_channel/invite.cpp
Alphabetically sort the modes in MAXLIST tokens.
[user/henk/code/inspircd.git] / src / coremods / core_channel / invite.cpp
index 7ac662edc9331c31560a6ce3bf00397987f7b71b..51fb638f8e308d4c321a19068fe06c22cb7d1607 100644 (file)
@@ -162,7 +162,7 @@ void Invite::APIImpl::Unserialize(LocalUser* user, const std::string& value)
        {
                Channel* chan = ServerInstance->FindChan(channame);
                if (chan)
-                       Create(user, chan, ConvToInt(exptime));
+                       Create(user, chan, ConvToNum<time_t>(exptime));
        }
 }