diff options
author | Adam <Adam@anope.org> | 2010-08-28 23:17:33 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-08-28 23:17:33 -0400 |
commit | 4319319f979c3b288f8f355915aa33541721810c (patch) | |
tree | d13a91175ad1e0ca9ce56a1f0338e6e5e1cfe875 /include | |
parent | e820e1af0d01011dbe9d91d2971cc3518f7f3d42 (diff) |
Burst back our juped servers if we disconnect
Diffstat (limited to 'include')
-rw-r--r-- | include/servers.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/servers.h b/include/servers.h index 4abe168db..514660286 100644 --- a/include/servers.h +++ b/include/servers.h @@ -66,6 +66,7 @@ extern CoreExport CapabInfo Capab_Info[]; */ enum ServerFlag { + SERVER_NONE, /* Server is syncing */ SERVER_SYNCING, /* This server was juped */ @@ -100,8 +101,9 @@ class CoreExport Server : public virtual Base, public Flags<ServerFlag> * @param hops Hops from services server * @param description Server rdescription * @param sid Server sid/numeric + * @param flag An optional server flag */ - Server(Server *uplink, const Anope::string &name, unsigned hops, const Anope::string &description, const Anope::string &sid); + Server(Server *uplink, const Anope::string &name, unsigned hops, const Anope::string &description, const Anope::string &sid, ServerFlag flag = SERVER_NONE); /** Destructor */ |