summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/nick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/nick.cpp')
-rw-r--r--src/modules/m_spanningtree/nick.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree/nick.cpp b/src/modules/m_spanningtree/nick.cpp
index 5de12b51b..7ace9cc73 100644
--- a/src/modules/m_spanningtree/nick.cpp
+++ b/src/modules/m_spanningtree/nick.cpp
@@ -29,11 +29,8 @@
#include "utils.h"
#include "commands.h"
-CmdResult CommandNick::Handle(User* user, std::vector<std::string>& params)
+CmdResult CommandNick::HandleRemote(RemoteUser* user, std::vector<std::string>& params)
{
- if (IS_SERVER(user))
- return CMD_INVALID;
-
if ((isdigit(params[0][0])) && (params[0] != user->uuid))
return CMD_INVALID;