diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree/rconnect.cpp | 4 | ||||
-rw-r--r-- | src/modules/m_spanningtree/rconnect.h | 1 | ||||
-rw-r--r-- | src/modules/m_spanningtree/rsquit.cpp | 5 | ||||
-rw-r--r-- | src/modules/m_spanningtree/rsquit.h | 1 |
4 files changed, 11 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/rconnect.cpp b/src/modules/m_spanningtree/rconnect.cpp index a62ef5cf3..422a4b428 100644 --- a/src/modules/m_spanningtree/rconnect.cpp +++ b/src/modules/m_spanningtree/rconnect.cpp @@ -59,3 +59,7 @@ CmdResult CommandRConnect::Handle (const std::vector<std::string>& parameters, U return CMD_SUCCESS; } +RouteDescriptor CommandRConnect::GetRouting(User* user, const std::vector<std::string>& parameters) +{ + return ROUTE_UNICAST(parameters[0]); +} diff --git a/src/modules/m_spanningtree/rconnect.h b/src/modules/m_spanningtree/rconnect.h index dc62d231d..1b24ad0f3 100644 --- a/src/modules/m_spanningtree/rconnect.h +++ b/src/modules/m_spanningtree/rconnect.h @@ -22,6 +22,7 @@ class CommandRConnect : public Command public: CommandRConnect (Module* Callback, SpanningTreeUtilities* Util); CmdResult Handle (const std::vector<std::string>& parameters, User *user); + RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters); }; #endif diff --git a/src/modules/m_spanningtree/rsquit.cpp b/src/modules/m_spanningtree/rsquit.cpp index 25b3c54d1..194536c47 100644 --- a/src/modules/m_spanningtree/rsquit.cpp +++ b/src/modules/m_spanningtree/rsquit.cpp @@ -68,6 +68,11 @@ CmdResult CommandRSQuit::Handle (const std::vector<std::string>& parameters, Use return CMD_SUCCESS; } +RouteDescriptor CommandRSQuit::GetRouting(User* user, const std::vector<std::string>& parameters) +{ + return ROUTE_UNICAST(parameters[0]); +} + // XXX use protocol interface instead of rolling our own :) void CommandRSQuit::NoticeUser(User* user, const std::string &msg) { diff --git a/src/modules/m_spanningtree/rsquit.h b/src/modules/m_spanningtree/rsquit.h index 48abd5c5c..887f77b6f 100644 --- a/src/modules/m_spanningtree/rsquit.h +++ b/src/modules/m_spanningtree/rsquit.h @@ -22,6 +22,7 @@ class CommandRSQuit : public Command public: CommandRSQuit (Module* Callback, SpanningTreeUtilities* Util); CmdResult Handle (const std::vector<std::string>& parameters, User *user); + RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters); void NoticeUser(User* user, const std::string &msg); }; |