/*
* InspIRCd -- Internet Relay Chat Daemon
*
+ * Copyright (C) 2013, 2019 Sadie Powell <sadie@witchery.services>
+ * Copyright (C) 2013 Attila Molnar <attilamolnar@hush.com>
+ * Copyright (C) 2012 Robby <robby@chatbelgie.be>
+ * Copyright (C) 2010 Craig Edwards <brain@inspircd.org>
* Copyright (C) 2007 Robin Burchell <robin+git@viroteck.net>
*
* This file is part of InspIRCd. InspIRCd is free software: you can
#pragma once
-class TestSuite;
-
class CoreExport UIDGenerator
{
- friend class TestSuite;
-
+ private:
/** Holds the current UID. Used to generate the next one.
*/
std::string current_uid;
public:
/**
* This is the maximum length of a UUID (unique user identifier).
- * 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.
+ * It allows up to 12,960 servers and 2,176,782,336 users per server.
*/
static const unsigned int UUID_LENGTH = 9;