summaryrefslogtreecommitdiff
path: root/modules/commands/os_defcon.cpp
diff options
context:
space:
mode:
authorRobby- <robby@chat.be>2013-02-02 07:30:53 +0100
committerRobby- <robby@chat.be>2013-02-02 07:30:53 +0100
commit15b37c1e38b20a3f6244af179dfdb395ee929800 (patch)
tree5ce51a5ecb759c472d3f44a322e9fb61a2bbd7ab /modules/commands/os_defcon.cpp
parentdccb0ee3138359559d3a984d4708b53154aa7082 (diff)
Some more typo and help text fixes, proper formatting of control codes, missing privileges, and settings corrections.
Diffstat (limited to 'modules/commands/os_defcon.cpp')
-rw-r--r--modules/commands/os_defcon.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/commands/os_defcon.cpp b/modules/commands/os_defcon.cpp
index e2aa43c0b..fe2ecc99f 100644
--- a/modules/commands/os_defcon.cpp
+++ b/modules/commands/os_defcon.cpp
@@ -182,7 +182,7 @@ class CommandOSDefcon : public Command
if (lvl.empty())
{
- source.Reply(_("Services are now at DEFCON \002%d\002"), DConfig.defaultlevel);
+ source.Reply(_("Services are now at DEFCON \002%d\002."), DConfig.defaultlevel);
this->SendLevels(source);
return;
}
@@ -209,7 +209,7 @@ class CommandOSDefcon : public Command
if (DConfig.timeout)
timeout = new DefConTimeout(this->module, 5);
- source.Reply(_("Services are now at DEFCON \002%d\002"), DConfig.defaultlevel);
+ source.Reply(_("Services are now at DEFCON \002%d\002."), DConfig.defaultlevel);
this->SendLevels(source);
Log(LOG_ADMIN, source, this) << "to change defcon level to " << newLevel;
@@ -451,7 +451,7 @@ class OSDefcon : public Module
{
if (DConfig.Check(DEFCON_NO_NEW_NICKS))
{
- source.Reply(_("Services are in Defcon mode, Please try again later."));
+ source.Reply(_("Services are in DefCon mode, please try again later."));
return EVENT_STOP;
}
}
@@ -459,7 +459,7 @@ class OSDefcon : public Module
{
if (DConfig.Check(DEFCON_NO_MLOCK_CHANGE))
{
- source.Reply(_("Services are in Defcon mode, Please try again later."));
+ source.Reply(_("Services are in DefCon mode, please try again later."));
return EVENT_STOP;
}
}
@@ -467,7 +467,7 @@ class OSDefcon : public Module
{
if (DConfig.Check(DEFCON_NO_NEW_CHANNELS))
{
- source.Reply(_("Services are in Defcon mode, Please try again later."));
+ source.Reply(_("Services are in DefCon mode, please try again later."));
return EVENT_STOP;
}
}
@@ -475,7 +475,7 @@ class OSDefcon : public Module
{
if (DConfig.Check(DEFCON_NO_NEW_MEMOS))
{
- source.Reply(_("Services are in Defcon mode, Please try again later."));
+ source.Reply(_("Services are in DefCon mode, please try again later."));
return EVENT_STOP;
}
}
@@ -535,7 +535,7 @@ class OSDefcon : public Module
{
XLine x("*@" + u->host, Config->OperServ, Anope::CurTime + Config->SessionAutoKillExpiry, "Defcon session limit exceeded", XLineManager::GenerateUID());
akills->Send(NULL, &x);
- Log(OperServ, "akill/defcon") << "[DEFCON] Added a temporary AKILL for \2*@" << u->host << "\2 due to excessive connections";
+ Log(OperServ, "akill/defcon") << "[DEFCON] Added a temporary AKILL for \002*@" << u->host << "\002 due to excessive connections";
}
else
{