diff options
| author | 2014-07-25 12:05:40 +0200 | |
|---|---|---|
| committer | 2014-07-25 12:05:40 +0200 | |
| commit | f62654a6859998f9d63eb22702c572d5ebcff15c (patch) | |
| tree | fd38985a6a7f94658c157da9a6f470d718f34eed /src/modules/m_dccallow.cpp | |
| parent | Update Windows build scripts for the recent build sys changes (diff) | |
| parent | Release v2.0.17 (diff) | |
| download | inspircd++-f62654a6859998f9d63eb22702c572d5ebcff15c.tar.gz inspircd++-f62654a6859998f9d63eb22702c572d5ebcff15c.tar.bz2 inspircd++-f62654a6859998f9d63eb22702c572d5ebcff15c.zip | |
Merge insp20
Diffstat (limited to 'src/modules/m_dccallow.cpp')
| -rw-r--r-- | src/modules/m_dccallow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 7332402ba..cc7fbd323 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -62,7 +62,7 @@ class CommandDccallow : public Command : Command(parent, "DCCALLOW", 0) , ext(Ext) { - 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 */ } @@ -205,7 +205,7 @@ class CommandDccallow : public Command void DisplayHelp(User* user) { - user->WriteNumeric(998, ":DCCALLOW [<+|->nick [time]] [list] [help]"); + user->WriteNumeric(998, ":DCCALLOW [(+|-)<nick> [<time>]]|[LIST|HELP]"); user->WriteNumeric(998, ":You may allow DCCs from specific users by specifying a"); user->WriteNumeric(998, ":DCC allow for the user you want to receive DCCs from."); user->WriteNumeric(998, ":For example, to allow the user Brain to send you inspircd.exe"); |
