summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-08-28 23:17:33 -0400
committerAdam <Adam@anope.org>2010-08-28 23:17:33 -0400
commit4319319f979c3b288f8f355915aa33541721810c (patch)
treed13a91175ad1e0ca9ce56a1f0338e6e5e1cfe875 /include
parente820e1af0d01011dbe9d91d2971cc3518f7f3d42 (diff)
Burst back our juped servers if we disconnect
Diffstat (limited to 'include')
-rw-r--r--include/servers.h4
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
*/