summaryrefslogtreecommitdiff
path: root/src/modules/m_sakick.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-03-29 16:17:37 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-03-29 16:17:37 +0200
commitc0514526561e5fde6db765e294c19e0aaee15e1e (patch)
tree6f7031cee8f956a15f2749628c5f166830058cc4 /src/modules/m_sakick.cpp
parent5d3b755cab8e436bf7ffebaa051cde9d6e2a0997 (diff)
parent4aed5846f17b15939aaf620ee4c4ca95a10609fc (diff)
Merge branch 'master+stroute'
Diffstat (limited to 'src/modules/m_sakick.cpp')
-rw-r--r--src/modules/m_sakick.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modules/m_sakick.cpp b/src/modules/m_sakick.cpp
index 8fc6e741b..ab168ca68 100644
--- a/src/modules/m_sakick.cpp
+++ b/src/modules/m_sakick.cpp
@@ -75,10 +75,7 @@ class CommandSakick : public Command
RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters)
{
- User* dest = ServerInstance->FindNick(parameters[1]);
- if (dest)
- return ROUTE_OPT_UCAST(dest->server);
- return ROUTE_LOCALONLY;
+ return ROUTE_OPT_UCAST(parameters[1]);
}
};