summaryrefslogtreecommitdiff
path: root/include/configreader.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-28 18:02:01 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-28 18:02:01 +0000
commitf83322c93800a528cf74811523ed90560092b715 (patch)
treeeb61cca00003f9a8f1a9f849ea1e3d7df75102df /include/configreader.h
parent02b2c0ac2b45b130c36c8e1df4da654dfb2c482b (diff)
Tidy up duplicate code, provide GetSID() method on ServerConfig which returns the SID always 3 digits long
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7959 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/configreader.h')
-rw-r--r--include/configreader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configreader.h b/include/configreader.h
index b1eb9b263..8b031012d 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -618,6 +618,10 @@ class CoreExport ServerConfig : public Extensible
*/
void ClearStack();
+ /** Get server ID as string with required leading zeroes
+ */
+ std::string GetSID();
+
/** Update the 005 vector
*/
void Update005();