From 516ab164f6fcfe641cbf296d1244ac957fb16fd1 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 16 Mar 2017 20:13:56 -0400 Subject: redis: check for socket errors when loading database on startup --- include/modules/redis.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/modules') 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 &cmds) = 0; virtual void SendCommand(Interface *i, const Anope::string &str) = 0; -- cgit