1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 14:33:13 +02:00

redis: check for socket errors when loading database on startup

This commit is contained in:
Adam
2017-03-16 20:13:56 -04:00
parent b2d028533d
commit 516ab164f6
3 changed files with 24 additions and 3 deletions
+2
View File
@@ -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;