summaryrefslogtreecommitdiff
path: root/src/servers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/servers.cpp')
-rw-r--r--src/servers.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/servers.cpp b/src/servers.cpp
index 65aeb4767..2ebf555c7 100644
--- a/src/servers.cpp
+++ b/src/servers.cpp
@@ -171,6 +171,14 @@ const Anope::string &Server::GetDescription() const
return this->Description;
}
+/** Change this servers SID
+ * @param sid The new SID
+ */
+void Server::SetSID(const Anope::string &sid)
+{
+ this->SID = sid;
+}
+
/** Get the server numeric/SID
* @return The numeric/SID
*/