1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-07-12 15:44:13 +00:00

Load save and delete scripts upon connection to Redis.

This commit is contained in:
King_DuckZ 2016-07-08 16:08:21 +01:00
parent 0e31aa7ea0
commit 1aacca9e21
4 changed files with 40 additions and 2 deletions

View file

@ -18,9 +18,15 @@
#include "script.hpp"
namespace redis {
Script::Script() :
m_sha1(),
m_manager(nullptr)
{
}
Script::Script (boost::string_ref parSha1, ScriptManager& parManager) :
m_sha1(parSha1),
m_manager(parManager)
m_manager(&parManager)
{
}
} //namespace redis