diff options
author | Adam <Adam@anope.org> | 2017-03-16 20:13:56 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-03-16 20:13:56 -0400 |
commit | 516ab164f6fcfe641cbf296d1244ac957fb16fd1 (patch) | |
tree | a273ef4d2398079963dc3cbb5190692364abece1 /include | |
parent | b2d028533dfb7d601f994621e7eee89857cb2927 (diff) |
redis: check for socket errors when loading database on startup
Diffstat (limited to 'include')
-rw-r--r-- | include/modules/redis.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/modules/redis.h b/include/modules/redis.h index fbcecebf7..36ffc3c88 100644 --- a/include/modules/redis.h +++ b/include/modules/redis.h @@ -58,6 +58,8 @@ namespace Redis public: Provider(Module *c, const Anope::string &n) : Service(c, "Redis::Provider", n) { } + virtual bool IsSocketDead() = 0; + virtual void SendCommand(Interface *i, const std::vector<Anope::string> &cmds) = 0; virtual void SendCommand(Interface *i, const Anope::string &str) = 0; |