diff options
| author | 2021-03-17 17:26:55 +0000 | |
|---|---|---|
| committer | 2021-03-17 21:14:07 +0000 | |
| commit | c1aa1d5a2b34b6a3339a157af3031b553fb8dd05 (patch) | |
| tree | 5b4090c8603f734ae8c6f230351afcd94190bb9d /src/modules/m_swhois.cpp | |
| parent | Implement support for automatically syncing extension items. (diff) | |
Add a subclass of ExtensionItem exclusively for booleans.
Diffstat (limited to 'src/modules/m_swhois.cpp')
| -rw-r--r-- | src/modules/m_swhois.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp index 562c4a312..fc8a315cb 100644 --- a/src/modules/m_swhois.cpp +++ b/src/modules/m_swhois.cpp @@ -38,7 +38,7 @@ enum class CommandSwhois : public Command { public: - IntExtItem operblock; + BoolExtItem operblock; StringExtItem swhois; CommandSwhois(Module* Creator) : Command(Creator, "SWHOIS", 2, 2) @@ -128,7 +128,7 @@ class ModuleSWhois if (!swhois.length()) return; - cmd.operblock.Set(user, 1); + cmd.operblock.Set(user); cmd.swhois.Set(user, swhois); } |
