diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-02-12 16:54:34 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-02-12 16:54:34 +0100 |
commit | 97e2deac07fbc55d383a9d618cf9d30b9a9136d9 (patch) | |
tree | 746894a7ed1d1d01ef286b5d5e3f0b9b4643736a /include | |
parent | ae6967b8b30ebc956e3158127ecba5d01dc09204 (diff) |
m_spanningtree Pass Server* to the OnServerLink/OnServerSplit events
Diffstat (limited to 'include')
-rw-r--r-- | include/modules/spanningtree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modules/spanningtree.h b/include/modules/spanningtree.h index 0f51c35db..e71cdf9d0 100644 --- a/include/modules/spanningtree.h +++ b/include/modules/spanningtree.h @@ -32,10 +32,10 @@ class SpanningTreeEventListener : public Events::ModuleEventListener /** Fired when a server finishes burst * @param server Server that recently linked and finished burst */ - virtual void OnServerLink(const std::string& server) { } + virtual void OnServerLink(const Server* server) { } /** Fired when a server splits * @param server Server that split */ - virtual void OnServerSplit(const std::string& server) { } + virtual void OnServerSplit(const Server* server) { } }; |