aboutsummaryrefslogtreecommitdiffstats
path: root/modules/spanningtree/misccommands.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-09-19 15:53:54 +0100
committerGravatar Sadie Powell2024-09-19 15:53:54 +0100
commit4f9830ff2e0d27c8308226bbe2dabe834087f04a (patch)
treec930fd7a10f25f2b7594a4a3cd2cc4bc8a0bb1f1 /modules/spanningtree/misccommands.cpp
parentAdd some extra methods to the Server class. (diff)
Make the server protocol APIs use a reference instead of a pointer.
Diffstat (limited to 'modules/spanningtree/misccommands.cpp')
-rw-r--r--modules/spanningtree/misccommands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/spanningtree/misccommands.cpp b/modules/spanningtree/misccommands.cpp
index 45179a94a..f1babdda6 100644
--- a/modules/spanningtree/misccommands.cpp
+++ b/modules/spanningtree/misccommands.cpp
@@ -29,7 +29,7 @@ void CmdBuilder::FireEvent(const Server* target, const char* cmd, ClientProtocol
if (!Utils->Creator || Utils->Creator->dying)
return;
- Utils->Creator->messageeventprov.Call(&ServerProtocol::MessageEventListener::OnBuildServerMessage, target, cmd, taglist);
+ Utils->Creator->messageeventprov.Call(&ServerProtocol::MessageEventListener::OnBuildServerMessage, *target, cmd, taglist);
UpdateTags();
}