diff options
| author | 2020-04-14 16:41:31 +0100 | |
|---|---|---|
| committer | 2020-04-14 16:41:31 +0100 | |
| commit | b382496d5c07cb236f2b26d1ce360f75a3cad6cb (patch) | |
| tree | 94d9568c862e64c20bde370365f087259a87e804 /src/modules/m_dccallow.cpp | |
| parent | Switch the spanningtree module from reference<> to std::shared_ptr<>. (diff) | |
| download | inspircd++-b382496d5c07cb236f2b26d1ce360f75a3cad6cb.tar.gz inspircd++-b382496d5c07cb236f2b26d1ce360f75a3cad6cb.tar.bz2 inspircd++-b382496d5c07cb236f2b26d1ce360f75a3cad6cb.zip | |
Alow modules to specify multiple syntax lines.
Diffstat (limited to 'src/modules/m_dccallow.cpp')
| -rw-r--r-- | src/modules/m_dccallow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 8ae921696..2cde67133 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -188,7 +188,7 @@ class CommandDccallow : public Command : Command(parent, "DCCALLOW", 0) , ext(Ext) { - syntax = "[(+|-)<nick> [<time>]]|[LIST|HELP]"; + 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 */ } |
