summaryrefslogtreecommitdiff
path: root/modules/hostserv/main/vhost.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-10-09 19:51:39 -0400
committerAdam <Adam@anope.org>2016-10-09 19:51:39 -0400
commite7dd7159b1e1ab5b3edabc44ece5338672f8fbb4 (patch)
tree9517f02ca1c29fa247f6914398f35a44052c22ff /modules/hostserv/main/vhost.h
parent8ceca4fd3f9cb82bc93801d5eb682d27b2ad2f54 (diff)
Make vhosts assignable to accounts, not nicks. Allow multiple vhosts per account.
Diffstat (limited to 'modules/hostserv/main/vhost.h')
-rw-r--r--modules/hostserv/main/vhost.h4
1 files changed, 4 insertions, 0 deletions
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;
};