diff options
| author | 2023-01-22 21:48:22 +0000 | |
|---|---|---|
| committer | 2023-01-22 22:36:31 +0000 | |
| commit | cadf228c3e66ce33c3599539b6650e26dfc3bff5 (patch) | |
| tree | 5b4fc56f9e4e6a63900fedd128fe920af2d73349 /src/modules/m_spanningtree/main.cpp | |
| parent | Fix some Doxygen comment issues. (diff) | |
Convert various enums to strongly typed scoped enums.
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 6f517afa2..138a369d6 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -417,7 +417,7 @@ void ModuleSpanningTree::OnUserPostMessage(User* user, const MessageTarget& targ if (!IS_LOCAL(user)) return; - const char* message_type = (details.type == MSG_PRIVMSG ? "PRIVMSG" : "NOTICE"); + const char* message_type = (details.type == MessageType::PRIVMSG ? "PRIVMSG" : "NOTICE"); switch (target.type) { case MessageTarget::TYPE_USER: |
