diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-03-29 16:43:30 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-03-29 16:43:30 +0200 |
commit | 5fbb5a0b2c5c08f76f99bd03b51bce2164feade3 (patch) | |
tree | cd093c6b3a2d31474874eb95e0940e25ca9a53e4 /src/modules/m_spanningtree | |
parent | 484b30f67b1479de72ff99532b7b91e775686e97 (diff) |
Make User::WriteRemoteNumeric() virtual, implement it in SpanningTree::RemoteUser
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/remoteuser.cpp | 5 | ||||
-rw-r--r-- | src/modules/m_spanningtree/remoteuser.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/remoteuser.cpp b/src/modules/m_spanningtree/remoteuser.cpp index cbd1b801e..717a6fd9f 100644 --- a/src/modules/m_spanningtree/remoteuser.cpp +++ b/src/modules/m_spanningtree/remoteuser.cpp @@ -26,3 +26,8 @@ SpanningTree::RemoteUser::RemoteUser(const std::string& uid, Server* srv) : ::RemoteUser(uid, srv) { } + +void SpanningTree::RemoteUser::WriteRemoteNumeric(const Numeric::Numeric& numeric) +{ + CommandNum::Builder(this, numeric).Unicast(this); +} diff --git a/src/modules/m_spanningtree/remoteuser.h b/src/modules/m_spanningtree/remoteuser.h index 235cbfd78..416f2f760 100644 --- a/src/modules/m_spanningtree/remoteuser.h +++ b/src/modules/m_spanningtree/remoteuser.h @@ -28,4 +28,5 @@ class SpanningTree::RemoteUser : public ::RemoteUser { public: RemoteUser(const std::string& uid, Server* srv); + void WriteRemoteNumeric(const Numeric::Numeric& numeric) CXX11_OVERRIDE; }; |