summaryrefslogtreecommitdiff
path: root/modules/commands/os_list.cpp
diff options
context:
space:
mode:
authorAdam <adam@sigterm.info>2013-02-02 10:51:08 -0800
committerAdam <adam@sigterm.info>2013-02-02 10:51:08 -0800
commit8902c1f03881b7053a2b6b526e23d89054824d2c (patch)
tree46b48dadef226a981f39eca567b0cb57ca8f6321 /modules/commands/os_list.cpp
parentdccb0ee3138359559d3a984d4708b53154aa7082 (diff)
parent6c43bcc3e0a474319b4b5ecf53d01eb9c84cce79 (diff)
Merge pull request #8 from Robby-/1.9
Some more typo and help text fixes, missing privileges, settings corrections, and cs_enforce changes
Diffstat (limited to 'modules/commands/os_list.cpp')
-rw-r--r--modules/commands/os_list.cpp20
1 files changed, 14 insertions, 6 deletions
diff --git a/modules/commands/os_list.cpp b/modules/commands/os_list.cpp
index 7178618b6..f4de45203 100644
--- a/modules/commands/os_list.cpp
+++ b/modules/commands/os_list.cpp
@@ -102,10 +102,14 @@ class CommandOSChanList : public Command
"is given, lists only the channels the user using it is on. If SECRET is\n"
"specified, lists only channels matching \002pattern\002 that have the +s or\n"
"+p mode."));
+
if (!Config->RegexEngine.empty())
- source.Reply(" \n"
- "Regex matches are also supported using the %s engine.\n"
- "Enclose your pattern in // if this desired.", Config->RegexEngine.c_str());
+ {
+ source.Reply(" ");
+ source.Reply(_("Regex matches are also supported using the %s engine.\n"
+ "Enclose your pattern in // if this is desired."), Config->RegexEngine.c_str());
+ }
+
return true;
}
};
@@ -203,10 +207,14 @@ class CommandOSUserList : public Command
"the format nick!user@host). If \002channel\002 is given, lists only users\n"
"that are on the given channel. If INVISIBLE is specified, only users\n"
"with the +i flag will be listed."));
+
if (!Config->RegexEngine.empty())
- source.Reply(" \n"
- "Regex matches are also supported using the %s engine.\n"
- "Enclose your pattern in // if this desired.", Config->RegexEngine.c_str());
+ {
+ source.Reply(" ");
+ source.Reply(_("Regex matches are also supported using the %s engine.\n"
+ "Enclose your pattern in // if this is desired."), Config->RegexEngine.c_str());
+ }
+
return true;
}
};