summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-26 16:08:03 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-26 16:08:03 +0200
commit7251d5990a3a0d31596e36f73fd7f17243d6b4c3 (patch)
tree242d7b9f18d5cf1e29ab6f952c3c03a8297f97b1 /src/modules
parent76030cb8afcce53885f0bd3c5c63d5536eaa3019 (diff)
m_spanningtree Only accept uuids in SAVE
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/save.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/save.cpp b/src/modules/m_spanningtree/save.cpp
index 75fdd478c..aac5795af 100644
--- a/src/modules/m_spanningtree/save.cpp
+++ b/src/modules/m_spanningtree/save.cpp
@@ -28,7 +28,7 @@
*/
CmdResult CommandSave::Handle(User* user, std::vector<std::string>& params)
{
- User* u = ServerInstance->FindNick(params[0]);
+ User* u = ServerInstance->FindUUID(params[0]);
if ((!u) || (IS_SERVER(u)))
return CMD_FAILURE;