Use 1 as the first membership id not 0.

This doesn't change anything in the protocol but makes identifying
whether a user has been assigned a membership id easier while
debugging.
This commit is contained in:
Sadie Powell 2024-08-11 19:11:29 +01:00
parent 506d6f2edf
commit 0b86e6ef33

View File

@ -68,7 +68,7 @@ class ModuleSpanningTree final
/** Next membership id assigned when a local user joins a channel
*/
Membership::Id currmembid = 0;
Membership::Id currmembid = 1;
public:
/** The specialized ProtocolInterface that is assigned to ServerInstance->PI on load