diff options
author | Robby- <robby@chat.be> | 2013-02-02 07:30:53 +0100 |
---|---|---|
committer | Robby- <robby@chat.be> | 2013-02-02 07:30:53 +0100 |
commit | 15b37c1e38b20a3f6244af179dfdb395ee929800 (patch) | |
tree | 5ce51a5ecb759c472d3f44a322e9fb61a2bbd7ab /modules/commands/os_list.cpp | |
parent | dccb0ee3138359559d3a984d4708b53154aa7082 (diff) |
Some more typo and help text fixes, proper formatting of control codes, missing privileges, and settings corrections.
Diffstat (limited to 'modules/commands/os_list.cpp')
-rw-r--r-- | modules/commands/os_list.cpp | 20 |
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; } }; |