summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;