Watcher list support added.
[silc.git] / apps / silcd / command_reply.c
index cd93edc7a21287ca8898407eb820bef86d9a7dbe..eb56f929e90d11fe527305ce7052959e99593c8d 100644 (file)
@@ -1262,3 +1262,15 @@ SILC_SERVER_CMD_REPLY_FUNC(list)
   silc_free(channel_id);
   silc_server_command_reply_free(cmd);
 }
+
+SILC_SERVER_CMD_REPLY_FUNC(watch)
+{
+  SilcServerCommandReplyContext cmd = (SilcServerCommandReplyContext)context;
+  SilcStatus status, error;
+
+  COMMAND_CHECK_STATUS;
+
+ out:
+  SILC_SERVER_PENDING_EXEC(cmd, SILC_COMMAND_WATCH);
+  silc_server_command_reply_free(cmd);
+}