summaryrefslogtreecommitdiff
path: root/include/modules/redis.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-03-16 20:13:56 -0400
committerAdam <Adam@anope.org>2017-03-16 20:13:56 -0400
commit516ab164f6fcfe641cbf296d1244ac957fb16fd1 (patch)
treea273ef4d2398079963dc3cbb5190692364abece1 /include/modules/redis.h
parentb2d028533dfb7d601f994621e7eee89857cb2927 (diff)
redis: check for socket errors when loading database on startup
Diffstat (limited to 'include/modules/redis.h')
-rw-r--r--include/modules/redis.h2
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;