From e7dd7159b1e1ab5b3edabc44ece5338672f8fbb4 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 9 Oct 2016 19:51:39 -0400 Subject: Make vhosts assignable to accounts, not nicks. Allow multiple vhosts per account. --- modules/hostserv/main/vhost.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/hostserv/main/vhost.h') diff --git a/modules/hostserv/main/vhost.h b/modules/hostserv/main/vhost.h index e0b751899..90ac9140f 100644 --- a/modules/hostserv/main/vhost.h +++ b/modules/hostserv/main/vhost.h @@ -30,6 +30,7 @@ class VHostImpl : public HostServ::VHost Anope::string vhost; Anope::string creator; time_t created = 0; + bool default_ = false; public: using HostServ::VHost::VHost; @@ -48,5 +49,8 @@ class VHostImpl : public HostServ::VHost time_t GetCreated() override; void SetCreated(time_t) override; + + bool IsDefault() override; + void SetDefault(bool) override; }; -- cgit