summaryrefslogtreecommitdiff
path: root/include/servers.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-01 01:56:57 -0400
committerAdam <Adam@anope.org>2012-10-01 01:56:57 -0400
commit89428a9d1032e3c2a6e397629a32862b3e58d708 (patch)
treed507904b3fa1cc084f0f3e688c839bcdd47f79d7 /include/servers.h
parentb937d6310d9a7c0e2434200306b63d513cb2ae61 (diff)
Cleanup of all of the protocol modules, rewrote message handling system to be a bit more C++ ish
Diffstat (limited to 'include/servers.h')
-rw-r--r--include/servers.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/servers.h b/include/servers.h
index 7b85a182a..94dc5491e 100644
--- a/include/servers.h
+++ b/include/servers.h
@@ -7,8 +7,6 @@
/* Anope */
extern CoreExport Server *Me;
-extern CoreExport void do_server(const Anope::string &source, const Anope::string &servername, unsigned int hops, const Anope::string &descript, const Anope::string &numeric);
-
extern CoreExport const Anope::string ts6_uid_retrieve();
extern CoreExport const Anope::string ts6_sid_retrieve();
@@ -57,12 +55,14 @@ class CoreExport Server : public Flags<ServerFlag>
* @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, ServerFlag flag = SERVER_NONE);
+ Server(Server *uplink, const Anope::string &name, unsigned hops, const Anope::string &description, const Anope::string &sid = "", ServerFlag flag = SERVER_NONE);
+ private:
/** Destructor
*/
~Server();
+ public:
/** Delete this server with a reason
* @param reason The reason
*/
@@ -93,7 +93,7 @@ class CoreExport Server : public Flags<ServerFlag>
*/
void SetSID(const Anope::string &sid);
- /** Get the server numeric/SID
+ /** Get the server numeric/SID, else the server name
* @return The numeric/SID
*/
const Anope::string &GetSID() const;