summaryrefslogtreecommitdiff
path: root/src/coremods/core_user/core_user.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-04-19 12:29:30 +0100
committerPeter Powell <petpow@saberuk.com>2019-04-19 12:29:30 +0100
commit0f2341e76eb54fb38b97305609db9f025331d002 (patch)
treeafbf54a53547dc2f79c651f38aec6b012082393f /src/coremods/core_user/core_user.cpp
parentbf7664612b00dfcf84c1a03bae2b009b9f1e1d94 (diff)
Promote cmd_mode to its own core module.
core_user was an inappropriate location for this as it contains mode changing code which is used by channels as well as users.
Diffstat (limited to 'src/coremods/core_user/core_user.cpp')
-rw-r--r--src/coremods/core_user/core_user.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/coremods/core_user/core_user.cpp b/src/coremods/core_user/core_user.cpp
index e4e7a5056..66622d34d 100644
--- a/src/coremods/core_user/core_user.cpp
+++ b/src/coremods/core_user/core_user.cpp
@@ -140,7 +140,6 @@ void MessageWrapper::ReadConfig(const char* prefixname, const char* suffixname,
class CoreModUser : public Module
{
CommandAway cmdaway;
- CommandMode cmdmode;
CommandNick cmdnick;
CommandPart cmdpart;
CommandPass cmdpass;
@@ -155,7 +154,6 @@ class CoreModUser : public Module
public:
CoreModUser()
: cmdaway(this)
- , cmdmode(this)
, cmdnick(this)
, cmdpart(this)
, cmdpass(this)