diff options
| author | 2024-08-11 19:11:29 +0100 | |
|---|---|---|
| committer | 2024-08-11 19:11:29 +0100 | |
| commit | 0b86e6ef332ca3e5f8db88af37c7f89dd08cd227 (patch) | |
| tree | eba4f574ce24603c84dee1b8379232a5834dca5d /src/modules/m_spanningtree | |
| parent | Add an email address for an SVN-only committer. (diff) | |
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.
Diffstat (limited to 'src/modules/m_spanningtree')
| -rw-r--r-- | src/modules/m_spanningtree/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.h b/src/modules/m_spanningtree/main.h index f3688ab0a..2909c91fd 100644 --- a/src/modules/m_spanningtree/main.h +++ b/src/modules/m_spanningtree/main.h @@ -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 |
