diff options
author | Adam <Adam@anope.org> | 2013-05-17 23:04:18 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-05-17 23:04:18 -0400 |
commit | 2428264315868f0860f9747c8b005536e5442db6 (patch) | |
tree | 9cd3070f46823ea5f5af32abf84d3c39975e9634 /src | |
parent | cc4a14b0badfe3d617ec2dd230d7921f8650a069 (diff) |
Add Redis database support
Diffstat (limited to 'src')
-rw-r--r-- | src/serialize.cpp | 4 | ||||
-rw-r--r-- | src/socket_clients.cpp | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/serialize.cpp b/src/serialize.cpp index 444cf79da..bb95cdc41 100644 --- a/src/serialize.cpp +++ b/src/serialize.cpp @@ -44,7 +44,7 @@ void Serialize::CheckTypes() } } -Serializable::Serializable(const Anope::string &serialize_type) : last_commit(0), last_commit_time(0), id(0) +Serializable::Serializable(const Anope::string &serialize_type) : last_commit(0), last_commit_time(0), id(0), redis_ignore(0) { if (SerializableItems == NULL) SerializableItems = new std::list<Serializable *>(); @@ -58,7 +58,7 @@ Serializable::Serializable(const Anope::string &serialize_type) : last_commit(0) FOREACH_MOD(I_OnSerializableConstruct, OnSerializableConstruct(this)); } -Serializable::Serializable(const Serializable &other) : last_commit(0), last_commit_time(0), id(0) +Serializable::Serializable(const Serializable &other) : last_commit(0), last_commit_time(0), id(0), redis_ignore(0) { SerializableItems->push_back(this); this->s_iter = SerializableItems->end(); diff --git a/src/socket_clients.cpp b/src/socket_clients.cpp index 3686b2c0a..7893a07a9 100644 --- a/src/socket_clients.cpp +++ b/src/socket_clients.cpp @@ -17,10 +17,6 @@ #include <errno.h> -ConnectionSocket::ConnectionSocket() : Socket() -{ -} - void ConnectionSocket::Connect(const Anope::string &TargetHost, int Port) { this->io->Connect(this, TargetHost, Port); |