diff options
author | Robby- <robby@chat.be> | 2014-04-12 22:08:41 +0200 |
---|---|---|
committer | Robby- <robby@chat.be> | 2014-04-12 22:08:41 +0200 |
commit | bd35f849452cc4cc83972939bfbc363e679203e1 (patch) | |
tree | 0eb93b9fddf2b223baa905becdd5b9078c8db2a6 /src/modules | |
parent | 493ff75f1f89a7ede2800eff0368740fbaf02aa4 (diff) |
Correct the syntax messages of a few modules.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_callerid.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_dccallow.cpp | 4 | ||||
-rw-r--r-- | src/modules/m_userip.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp index 09c5c3f24..4147f0b16 100644 --- a/src/modules/m_callerid.cpp +++ b/src/modules/m_callerid.cpp @@ -146,7 +146,7 @@ public: extInfo(Creator) { allow_empty_last_param = false; - syntax = "{[+|-]<nicks>}|*}"; + syntax = "*|(+|-)<nick>[,(+|-)<nick> ...]"; TRANSLATE2(TR_CUSTOM, TR_END); } diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index db0b54764..b42d12968 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -60,7 +60,7 @@ class CommandDccallow : public Command public: CommandDccallow(Module* parent) : Command(parent, "DCCALLOW", 0) { - syntax = "{[+|-]<nick> <time>|HELP|LIST}"; + syntax = "[(+|-)<nick> [<time>]]|[LIST|HELP]"; /* XXX we need to fix this so it can work with translation stuff (i.e. move +- into a seperate param */ } @@ -203,7 +203,7 @@ class CommandDccallow : public Command void DisplayHelp(User* user) { - user->WriteNumeric(998, "%s :DCCALLOW [<+|->nick [time]] [list] [help]", user->nick.c_str()); + user->WriteNumeric(998, "%s :DCCALLOW [(+|-)<nick> [<time>]]|[LIST|HELP]", user->nick.c_str()); user->WriteNumeric(998, "%s :You may allow DCCs from specific users by specifying a", user->nick.c_str()); user->WriteNumeric(998, "%s :DCC allow for the user you want to receive DCCs from.", user->nick.c_str()); user->WriteNumeric(998, "%s :For example, to allow the user Brain to send you inspircd.exe", user->nick.c_str()); diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp index 33b261ca1..9502c91b1 100644 --- a/src/modules/m_userip.cpp +++ b/src/modules/m_userip.cpp @@ -30,7 +30,7 @@ class CommandUserip : public Command public: CommandUserip(Module* Creator) : Command(Creator,"USERIP", 1) { - syntax = "<nick>{,<nick>}"; + syntax = "<nick> [<nick> ...]"; } CmdResult Handle (const std::vector<std::string> ¶meters, User *user) |