aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_watch.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_watch.cpp
parentSet connect class if there is one (diff)
Add ExtensibleType argument to ExtensionItem to identify item types
Diffstat (limited to 'src/modules/m_watch.cpp')
-rw-r--r--src/modules/m_watch.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp
index 8d0043a71..c12feaf44 100644
--- a/src/modules/m_watch.cpp
+++ b/src/modules/m_watch.cpp
@@ -251,7 +251,8 @@ class CommandWatch : public Command
return CMD_SUCCESS;
}
- CommandWatch(Module* parent, unsigned int &maxwatch) : Command(parent,"WATCH", 0), MAX_WATCH(maxwatch), ext("watchlist", parent)
+ CommandWatch(Module* parent, unsigned int &maxwatch)
+ : Command(parent,"WATCH", 0), MAX_WATCH(maxwatch), ext(EXTENSIBLE_USER, "watchlist", parent)
{
syntax = "[C|L|S]|[+|-<nick>]";
TRANSLATE2(TR_TEXT, TR_END); /* we watch for a nick. not a UID. */