diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-01-18 10:40:33 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-01-18 10:40:33 +0100 |
commit | 4fc2f7199e964ba5112ecdb2613c6fd5c2eee638 (patch) | |
tree | bf2469f00fd4dfeaa07c0ab431a9663952cf17b7 /src/modules/m_swhois.cpp | |
parent | 4b6f7d789333dd9fd3b08f8742a68c0f9c6c2254 (diff) |
Specify which Extensible subclass an ExtensionItem is valid for
Diffstat (limited to 'src/modules/m_swhois.cpp')
-rw-r--r-- | src/modules/m_swhois.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp index 4eb2a9cda..81abde6f7 100644 --- a/src/modules/m_swhois.cpp +++ b/src/modules/m_swhois.cpp @@ -31,7 +31,9 @@ class CommandSwhois : public Command { public: StringExtItem swhois; - CommandSwhois(Module* Creator) : Command(Creator,"SWHOIS", 2,2), swhois("swhois", Creator) + CommandSwhois(Module* Creator) + : Command(Creator, "SWHOIS", 2, 2) + , swhois("swhois", ExtensionItem::EXT_USER, Creator) { flags_needed = 'o'; syntax = "<nick> :<swhois>"; TRANSLATE2(TR_NICK, TR_TEXT); |