diff options
| author | 2015-01-18 10:40:33 +0100 | |
|---|---|---|
| committer | 2015-01-18 10:40:33 +0100 | |
| commit | 4fc2f7199e964ba5112ecdb2613c6fd5c2eee638 (patch) | |
| tree | bf2469f00fd4dfeaa07c0ab431a9663952cf17b7 /src/modules/m_silence.cpp | |
| parent | Verify that the chan in chanlist is in fact the same object as us in Channel:... (diff) | |
| download | inspircd++-4fc2f7199e964ba5112ecdb2613c6fd5c2eee638.tar.gz inspircd++-4fc2f7199e964ba5112ecdb2613c6fd5c2eee638.tar.bz2 inspircd++-4fc2f7199e964ba5112ecdb2613c6fd5c2eee638.zip | |
Specify which Extensible subclass an ExtensionItem is valid for
Diffstat (limited to 'src/modules/m_silence.cpp')
| -rw-r--r-- | src/modules/m_silence.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp index 22de0ac8b..91822b4e4 100644 --- a/src/modules/m_silence.cpp +++ b/src/modules/m_silence.cpp @@ -106,7 +106,8 @@ class CommandSilence : public Command public: SimpleExtItem<silencelist> ext; CommandSilence(Module* Creator, unsigned int &max) : Command(Creator, "SILENCE", 0), - maxsilence(max), ext("silence_list", Creator) + maxsilence(max) + , ext("silence_list", ExtensionItem::EXT_USER, Creator) { allow_empty_last_param = false; syntax = "{[+|-]<mask> <p|c|i|n|t|a|x>}"; |
