summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-02 11:48:54 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-02 11:48:54 +0000
commit519d8e5dfe379840ae5da2ac43231ec4364d7b18 (patch)
tree5e443dece008ad59034ce3b7d53aca72065905f8 /include
parent4f66a9a4c40ccab57b39eb4dd16c3f02438e3b4c (diff)
Better generation. This is still fucked up, but less spectacularly and in a much less obvious way.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9260 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h4
-rw-r--r--include/uid.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index edf8cd854..05e33cf0c 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -289,9 +289,9 @@ class CoreExport InspIRCd : public classbase
*/
void DoSocketTimeouts(time_t TIME);
- /** Sets up UID subsystem
+ /** Increments the current UID by one.
*/
- void InitialiseUID();
+ void IncrementUID(int pos);
/** Perform background user events such as PING checks
*/
diff --git a/include/uid.h b/include/uid.h
index f5384049c..63b3e89f2 100644
--- a/include/uid.h
+++ b/include/uid.h
@@ -16,6 +16,6 @@
* This length is set in compliance with TS6 protocol, and really should not be changed. Ever.
* It allows for a lot of clients as-is. -- w00t.
*/
-#define UUID_LENGTH 10
+#define UUID_LENGTH 9