diff options
Diffstat (limited to 'src/modules/m_spanningtree/away.cpp')
-rw-r--r-- | src/modules/m_spanningtree/away.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/away.cpp b/src/modules/m_spanningtree/away.cpp index cf0c87ce4..7b151dfef 100644 --- a/src/modules/m_spanningtree/away.cpp +++ b/src/modules/m_spanningtree/away.cpp @@ -23,10 +23,8 @@ #include "utils.h" #include "commands.h" -CmdResult CommandAway::Handle(User* u, std::vector<std::string>& params) +CmdResult CommandAway::HandleRemote(RemoteUser* u, std::vector<std::string>& params) { - if (IS_SERVER(u)) - return CMD_INVALID; if (params.size()) { FOREACH_MOD(OnSetAway, (u, params[params.size() - 1])); |