diff options
author | Robby <robby@chatbelgie.be> | 2015-09-02 20:36:24 +0200 |
---|---|---|
committer | Robby <robby@chatbelgie.be> | 2015-09-02 20:36:24 +0200 |
commit | 3b647b07407472abd4aca513a30f67f36969bd8f (patch) | |
tree | a746c91648d4aa214861d7c4496d8ea9232b4cbf /modules/commands/ns_set.cpp | |
parent | 7a21648683f36a80ca1173844c081b43b12a3514 (diff) |
When toggling NOEXPIRE for a nickname, show the actual nickname in addition to the account name.
Diffstat (limited to 'modules/commands/ns_set.cpp')
-rw-r--r-- | modules/commands/ns_set.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/ns_set.cpp b/modules/commands/ns_set.cpp index e8e7c335c..589529d61 100644 --- a/modules/commands/ns_set.cpp +++ b/modules/commands/ns_set.cpp @@ -1107,13 +1107,13 @@ class CommandNSSASetNoexpire : public Command if (param.equals_ci("ON")) { - Log(LOG_ADMIN, source, this) << "to enable noexpire for " << na->nc->display; + Log(LOG_ADMIN, source, this) << "to enable noexpire for " << na->nick << " (" << na->nc->display << ")"; na->Extend<bool>("NS_NO_EXPIRE"); source.Reply(_("Nick %s \002will not\002 expire."), na->nick.c_str()); } else if (param.equals_ci("OFF")) { - Log(LOG_ADMIN, source, this) << "to disable noexpire for " << na->nc->display; + Log(LOG_ADMIN, source, this) << "to disable noexpire for " << na->nick << " (" << na->nc->display << ")"; na->Shrink<bool>("NS_NO_EXPIRE"); source.Reply(_("Nick %s \002will\002 expire."), na->nick.c_str()); } |