summaryrefslogtreecommitdiff
path: root/src/coremods/core_wallops.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-03-09 17:08:55 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-03-09 17:08:55 +0100
commit7b7e82bec5ab5a39d88896fc7433125fd0c684de (patch)
tree4f3e96e755abdaa3a49e80e1acae16bf3bcd5685 /src/coremods/core_wallops.cpp
parentf2db4b743f0df9b9e588979fd0fcf2815e54af44 (diff)
Move the wallops mode from the core into core_wallops
Diffstat (limited to 'src/coremods/core_wallops.cpp')
-rw-r--r--src/coremods/core_wallops.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coremods/core_wallops.cpp b/src/coremods/core_wallops.cpp
index 731eaf3d2..276da51dc 100644
--- a/src/coremods/core_wallops.cpp
+++ b/src/coremods/core_wallops.cpp
@@ -24,14 +24,14 @@
*/
class CommandWallops : public Command
{
- UserModeReference wallopsmode;
+ SimpleUserModeHandler wallopsmode;
public:
/** Constructor for wallops.
*/
CommandWallops(Module* parent)
: Command(parent, "WALLOPS", 1, 1)
- , wallopsmode(parent, "wallops")
+ , wallopsmode(parent, "wallops", 'w')
{
flags_needed = 'o';
syntax = "<any-text>";