diff options
author | Adam <Adam@anope.org> | 2013-08-26 02:00:25 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-08-26 02:00:25 -0400 |
commit | 50e1a3e96c95e42d48feb7f5ed80f13c5b5f0e4a (patch) | |
tree | f9d0eb396e0c0f0a39f631dd334bf57c0932e7e3 /modules/commands/cs_mode.cpp | |
parent | 6b79349e6c7ea2174c90c2567dde2038ebd59276 (diff) |
Fix status mlocks. Fix reply from lock add.
Diffstat (limited to 'modules/commands/cs_mode.cpp')
-rw-r--r-- | modules/commands/cs_mode.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/cs_mode.cpp b/modules/commands/cs_mode.cpp index f3520dfec..bf7817053 100644 --- a/modules/commands/cs_mode.cpp +++ b/modules/commands/cs_mode.cpp @@ -347,8 +347,8 @@ class CommandCSMode : public Command neg.clear(); Anope::string reply = pos + neg + pos_params + neg_params; - source.Reply(_("%s locked on %s."), modelocks->GetMLockAsString(true).c_str(), ci->name.c_str()); - Log(override ? LOG_OVERRIDE : LOG_COMMAND, source, this, ci) << "to lock " << modelocks->GetMLockAsString(true); + source.Reply(_("%s locked on %s."), reply.c_str(), ci->name.c_str()); + Log(override ? LOG_OVERRIDE : LOG_COMMAND, source, this, ci) << "to lock " << reply; if (ci->c) ci->c->CheckModes(); @@ -903,7 +903,7 @@ class CSMode : public Module } } - else if (cm->type == MODE_LIST) + else if (cm->type == MODE_LIST || cm->type == MODE_STATUS) { if (ml->set) c->SetMode(NULL, cm, ml->param); |