summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-04-20 15:39:44 -0400
committerAdam <Adam@anope.org>2011-04-20 15:39:44 -0400
commit3aeaef5b9aa104a1a2d9045e54c581affe15132e (patch)
treed506046a06cf524c54270de53f8b8c4d874201bc
parent4d26070a92f7f171d91d52c2e474e9723c1cb5af (diff)
A few more small fixes
-rw-r--r--modules/core/cs_akick.cpp10
-rw-r--r--modules/core/os_modreload.cpp2
-rw-r--r--modules/core/os_modunload.cpp2
3 files changed, 8 insertions, 6 deletions
diff --git a/modules/core/cs_akick.cpp b/modules/core/cs_akick.cpp
index e9e116cf5..4584ac6b5 100644
--- a/modules/core/cs_akick.cpp
+++ b/modules/core/cs_akick.cpp
@@ -521,7 +521,7 @@ class CommandCSAKick : public Command
" \n"
"Maintains the \002AutoKick list\002 for a channel. If a user\n"
"on the AutoKick list attempts to join the channel,\n"
- "%sS will ban that user from the channel, then kick\n"
+ "%s will ban that user from the channel, then kick\n"
"the user.\n"
" \n"
"The \002AKICK ADD\002 command adds the given nick or usermask\n"
@@ -531,7 +531,9 @@ class CommandCSAKick : public Command
"banned from the channel\".\n"
"When akicking a \037registered nick\037 the nickserv account\n"
"will be added to the akick list instead of the mask.\n"
- "All users within that nickgroup will then be akicked.\n"
+ "All users within that nickgroup will then be akicked.\n"),
+ ChanServ->nick.c_str());
+ source.Reply(_(
" \n"
"The \002AKICK DEL\002 command removes the given nick or mask\n"
"from the AutoKick list. It does not, however, remove any\n"
@@ -545,12 +547,12 @@ class CommandCSAKick : public Command
"The \002AKICK VIEW\002 command is a more verbose version of\n"
"\002AKICK LIST\002 command.\n"
" \n"
- "The \002AKICK ENFORCE\002 command causes %sS to enforce the\n"
+ "The \002AKICK ENFORCE\002 command causes %s to enforce the\n"
"current AKICK list by removing those users who match an\n"
"AKICK mask.\n"
" \n"
"The \002AKICK CLEAR\002 command clears all entries of the\n"
- "akick list."), ChanServ->nick.c_str(), ChanServ->nick.c_str());
+ "akick list."), ChanServ->nick.c_str());
return true;
}
diff --git a/modules/core/os_modreload.cpp b/modules/core/os_modreload.cpp
index 54f09c1b9..43625d980 100644
--- a/modules/core/os_modreload.cpp
+++ b/modules/core/os_modreload.cpp
@@ -41,7 +41,7 @@ class CommandOSModReLoad : public Command
if (m->GetPermanent())
{
- source.Reply(_("Unable to remove module \002%s\002"));
+ source.Reply(_("Unable to remove module \002%s\002"), m->name.c_str());
return MOD_CONT;
}
diff --git a/modules/core/os_modunload.cpp b/modules/core/os_modunload.cpp
index 010df35bb..6a9bc9cb9 100644
--- a/modules/core/os_modunload.cpp
+++ b/modules/core/os_modunload.cpp
@@ -41,7 +41,7 @@ class CommandOSModUnLoad : public Command
if (m->GetPermanent() || m->type == PROTOCOL)
{
- source.Reply(_("Unable to remove module \002%s\002"));
+ source.Reply(_("Unable to remove module \002%s\002"), m->name.c_str());
return MOD_CONT;
}