summaryrefslogtreecommitdiff
path: root/src/modules/m_setname.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_setname.cpp')
-rw-r--r--src/modules/m_setname.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp
index 846edf0fe..b70939ca2 100644
--- a/src/modules/m_setname.cpp
+++ b/src/modules/m_setname.cpp
@@ -47,7 +47,7 @@ class CommandSetname : public Command
return CMD_SUCCESS;
}
- return CMD_SUCCESS;
+ return CMD_LOCALONLY;
}
};
@@ -71,9 +71,8 @@ class ModuleSetName : public Module
virtual Version GetVersion()
{
- return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("$Id$", VF_VENDOR, API_VERSION);
}
-
};
MODULE_INIT(ModuleSetName)