summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-03-29 16:43:30 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-03-29 16:43:30 +0200
commit5fbb5a0b2c5c08f76f99bd03b51bce2164feade3 (patch)
treecd093c6b3a2d31474874eb95e0940e25ca9a53e4 /src/modules/m_spanningtree
parent484b30f67b1479de72ff99532b7b91e775686e97 (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.cpp5
-rw-r--r--src/modules/m_spanningtree/remoteuser.h1
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;
};