summaryrefslogtreecommitdiffstats
path: root/src/modules/m_timedmodes.cpp
diff options
context:
space:
mode:
authorGravatar Daniel De Graaf2010-09-22 20:49:27 -0400
committerGravatar Daniel De Graaf2010-09-22 20:49:27 -0400
commit6049aefbfe55e7668f50f76efac4e4a67c2f18c6 (patch)
treef1e544bfa41f3e86623ed1d8290f56000e04d41c /src/modules/m_timedmodes.cpp
parentSet connect class if there is one (diff)
downloadinspircd++-6049aefbfe55e7668f50f76efac4e4a67c2f18c6.tar.gz
inspircd++-6049aefbfe55e7668f50f76efac4e4a67c2f18c6.tar.bz2
inspircd++-6049aefbfe55e7668f50f76efac4e4a67c2f18c6.zip
Add ExtensibleType argument to ExtensionItem to identify item types
Diffstat (limited to 'src/modules/m_timedmodes.cpp')
-rw-r--r--src/modules/m_timedmodes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_timedmodes.cpp b/src/modules/m_timedmodes.cpp
index 90cf289d5..aba1fa002 100644
--- a/src/modules/m_timedmodes.cpp
+++ b/src/modules/m_timedmodes.cpp
@@ -68,7 +68,7 @@ class CommandTmode : public Command
TimedMode* current;
irc::modestacker toannounce;
limitlist chanlimits;
- CommandTmode(Module* Creator) : Command(Creator,"TMODE", 1), tmodes("tmodes", Creator)
+ CommandTmode(Module* Creator) : Command(Creator,"TMODE", 1), tmodes(EXTENSIBLE_CHANNEL, "tmodes", Creator)
{
syntax = "<channel> [<duration> <modes> {<mode-parameters>}]"; // NB: This is the syntax for clients to use. The s2s syntax is different: <channel> <expiry> <modes to set/unset upon expiry> {<mode-parameters>}
ServerInstance->Extensions.Register(&tmodes);