summaryrefslogtreecommitdiff
path: root/modules/commands/ns_info.cpp
diff options
context:
space:
mode:
authorRobby- <robby@chat.be>2013-09-29 08:55:32 +0200
committerAdam <Adam@anope.org>2013-09-29 15:42:22 -0400
commited06609ae1b100997981a3c91bcf46d7a31bc7bd (patch)
tree183d41ecc968d0385d3f01b61fc67c5aa492f36a /modules/commands/ns_info.cpp
parent32a57150ecddc75b1bfd2efc185575b76431cbff (diff)
NickServ: Change a few log wordings and add missing log calls to some commands.
ns_suspend and cs_suspend: Fix log wording, and correct syntax to show the reason is optional.
Diffstat (limited to 'modules/commands/ns_info.cpp')
-rw-r--r--modules/commands/ns_info.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/ns_info.cpp b/modules/commands/ns_info.cpp
index c2b09981e..e9a755779 100644
--- a/modules/commands/ns_info.cpp
+++ b/modules/commands/ns_info.cpp
@@ -182,13 +182,13 @@ class CommandNSSetHide : public Command
if (arg.equals_ci("ON"))
{
- Log(nc == source.GetAccount() ? LOG_COMMAND : LOG_ADMIN, source, this) << "to change hide " << param << " to " << arg << " for " << nc->display;
+ Log(nc == source.GetAccount() ? LOG_COMMAND : LOG_ADMIN, source, this) << "to change hide " << param.upper() << " to " << arg.upper() << " for " << nc->display;
nc->Extend<bool>(flag);
source.Reply(onmsg.c_str(), nc->display.c_str(), source.service->nick.c_str());
}
else if (arg.equals_ci("OFF"))
{
- Log(nc == source.GetAccount() ? LOG_COMMAND : LOG_ADMIN, source, this) << "to change hide " << param << " to " << arg << " for " << nc->display;
+ Log(nc == source.GetAccount() ? LOG_COMMAND : LOG_ADMIN, source, this) << "to change hide " << param.upper() << " to " << arg.upper() << " for " << nc->display;
nc->Shrink<bool>(flag);
source.Reply(offmsg.c_str(), nc->display.c_str(), source.service->nick.c_str());
}